Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create isDateValid on Session model #162

Open
ehammo opened this issue Mar 11, 2019 · 0 comments
Open

Create isDateValid on Session model #162

ehammo opened this issue Mar 11, 2019 · 0 comments
Assignees
Labels
improvement general improvements, such as UX, UI, performance and others

Comments

@ehammo
Copy link
Member

ehammo commented Mar 11, 2019

On app/src/main/java/br/org/cesar/discordtime/stickysessions/domain/model/Session.java create a isDateValid() to check if createdAt != null && !createdAt.isEmpty(). And if date is invalid return -1 on getYear, getMonth and getDay

@rodrigoperazzo rodrigoperazzo added the improvement general improvements, such as UX, UI, performance and others label May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement general improvements, such as UX, UI, performance and others
Projects
None yet
Development

No branches or pull requests

2 participants