Hello everyone,

is there a simple and effective way to detect ambigious time when
changing from DST back to standard time?

For example:

28.10.2007 01:30 (Berlin/Germany)

exists twice, once with DST and once at standard time. I would like to
have something like:

DateTime dt = new DateTime("28.10.2007 01:30"); // forget the syntax
of the parameter it's just for demonstration.

if (dt.isAmbigous()) {
    warning("Please provide timezone and DST information");
}

Any advice?

Thank you,
Moritz.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to