I have LocalDateTime that should be used in external code and so converted to Date. If LocalDateTime represents point in time that are in DST gap (for example 28 March, 2:30, MSK) then
new LocalDateTime(2009, 2, 29, 2, 30).toDateTime().toDate() raises Exception when default time zone are set to MSK. Is there some simple way to do that conversion to DateTime so that time point will be rolled to most suitable one? In fact I am trying to find some analog of LocalDate.toDateTimeAtStartOfDay() Den ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest