Added isStandardOffset(long) for v1.5. Stephen
Brian S O'Neill wrote: > It's supported, but not in an obvious way. > > DateTime dt = ... > boolean dst = dt.getZone().getOffset(dt) != > dt.getZone().getStandardOffset(dt.getMillis()); > > Jie Hua wrote: >> Hi all, >> >> I have a date which i do not know does it in daylight saving or not, in >> Java SDK, I can use tz.inDaylightTime(date) to check is it in daylight >> saving or not. >> However, the implementation in JVM probably does not applicable for >> recent daylight saving changes. >> >> I looked the joda API, especially in DateTimeZone class, but did not >> find any method which can give me this kind of information. >> >> Any ideas? >> >> Cheers >> >> Jie >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Joda-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/joda-interest >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Joda-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/joda-interest > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
