4 ms·
FWIW, the default Java API to get weekday strings is also 1-based (DateFormatSymbols.getWeekdays(); and Calendar.SUNDAY is 1).
by ygra 13y ago
FWIW, the default Java API to get weekday strings is also 1-based (DateFormatSymbols.getWeekdays(); and Calendar.SUNDAY is 1).
- anton_gogolev 13y agoYeah, with Java DateTime API being royally fubarred [1]. [1]: http://stackoverflow.com/q/1969442/60188 http://stackoverflow.com/q/1969442/60188
- melignus 13y ago... every DateTime API ... FTFY