Get the Next Date of the following Sunday (Not using Calendar)
I need a solution to get the next Sunday's date, please no "Calendar" I am using GWT and it does not compile.. too many errors. I need an alternate solution... I am kind of new to java and 开发者_StackOverflow社区have spent two days "just" trying to programatically get the next Sundays date.. Please help me (No Calendar Class please)
Regards
You want a perpetual calendar algorithm. Several are outlined here: http://en.wikipedia.org/wiki/Calculating_the_day_of_the_week
精彩评论