开发者

Get the Next Date of the following Sunday (Not using Calendar)

开发者 https://www.devze.com 2023-03-24 16:35 出处:网络
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 开发者_S

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

0

精彩评论

暂无评论...
验证码 换一张
取 消