Re: Constructing a DateTime in DST

2005-06-11 Thread Cameron McCormack
Hi Rick. Rick Measham wrote: > Looks good to a point .. however you're duplicating data or missing data > depending on how you're defining your time zone. > > If your time zone is 'Australia/Melbourne' then you're duplicating it. > 2005-06-10 can only ever be non-daylight savings and so your op

Re: Constructing a DateTime in DST

2005-06-10 Thread Rick Measham
Cameron McCormack wrote: I want to serialize my times such that they match this regular expression: m[^()/(..)/(..)T(..):(..):(..)(D?)/(.*)] G'day Cameron, Looks good to a point .. however you're duplicating data or missing data depending on how you're defining your time zone. If you

Constructing a DateTime in DST

2005-06-09 Thread Cameron McCormack
Hi chronophiles. I want to serialize my times such that they match this regular expression: m[^()/(..)/(..)T(..):(..):(..)(D?)/(.*)] where $1 = year $2 = month $3 = day $4 = hour $5 = minute $6 = second $7 = 'D' if the time is in DST, '' otherwise $8 = timezone because I