Bård's explanation is correct. DST has ended, so the offset changes from +01:00 to :00:00 (or "Z").
If you don't care about time-zones or offsets you should use LocalDate, not DateMidnight. Since the library was created I've found that DateMidnight is a poor chioce for applications to use. Stephen On 11 October 2011 23:16, Bård Dybwad Kristensen <baa...@gmail.com> wrote: > Hi > > Without testing anything, my guess would be that it is related to the fact > that London goes over to winter time Sunday 30th of October at 02:30 local > time. I guess you are aware of this. The time zone goes from offset +1 to > UTC. So if you have midnight today it will have an offset of +01, but > midnight the 31th will have an offset of zero, ie UTC. That makes sense, > does it not? And everything is as expected? > > regards, > Bård > > On Tue, Oct 11, 2011 at 21:03, Mark Carroll <mark.carr...@vecna.com> wrote: >> >> Colin Yates wrote: >> >> > On an aside - what is the idiomatic way to determine the number of whole >> > days between two dates? >> >> Days.daysBetween is often handy. >> >> Mark >> >> -- >> Mark Carroll >> Software Engineer >> mark.carr...@vecna.com >> http://www.vecna.com/ >> >> Cambridge Research Laboratory >> Vecna Technologies, Inc. >> 36 Cambridge Park Drive >> Cambridge, MA 02140 >> Phone: (617) 864-0636 >> Fax: (617) 864-0638 >> >> Better Technology, Better World (TM) >> >> The contents of this message may be privileged and confidential. >> Therefore, if this message has been received in error, please delete it >> without reading it. Your receipt of this message is not intended to >> waive any applicable privilege. Please do not disseminate this message >> without the permission of the author. >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2d-oct >> _______________________________________________ >> Joda-interest mailing list >> Joda-interest@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/joda-interest > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest