JDNdeveloper / Off-By-One

CMPS 115 Project: Jayden Navarro, John Gemignani, Alex Gonzalez, Kevin Cheng, Josh Innis
0 stars 0 forks source link

When building days of the week, use proper Notification.java standard #135

Closed JDNdeveloper closed 9 years ago

JoshInnis commented 9 years ago

I am not sure what the problem is here, can you go into some detail

JDNdeveloper commented 9 years ago

Not sure if there's a problem, just make sure to read my documentation and follow the standards that I use. To set Monday use Calendar.MONDAY etc. On Mar 3, 2015 7:09 PM, "JoetheSoda" notifications@github.com wrote:

I am not sure what the problem is here, can you go into some detail

— Reply to this email directly or view it on GitHub https://github.com/JDNdeveloper/Off-By-One/issues/135#issuecomment-77089444 .

JoshInnis commented 9 years ago

Days of the week follows the standard. However, I don't use Calendar.MONDAY for monday, because I needed Sunday to be represented by 0 in my code, because of how Dialogs with multi-choice selections work, whereas Calendar.SUNDAY starts at 1. When adding/removing a day to the days that are repeated, this is accounted for so there is not an Off-By-One error.