Skip to content

Conversation

@azakrevska-epam
Copy link

No description provided.

* Class is used for manage and convert date {@link DateWidget}
*/
public final class DateUtil {
public final class DateUtils {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I forgot we have this, DateUtil class in ui module, @azakrevska-epam @fmattos-hw there's also a DateUtils class in com.hyperwallet.android.ui.common.util.DateUtils does it make sense to merge them into one?

Copy link
Collaborator

@fmattos-hw fmattos-hw Jun 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the class com.hyperwallet.android.ui.view.widget.DateUtils should not exist and all methods should be moved to the DateWidget class. I don't like the idea of having util class with state (date format instance created in the constructor) and public constructor, but based on our conversation, we can leave it as is and use android date formatting

@skoong skoong merged commit 4a71631 into development Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants