3 ms·
I know nothing about Joda Time (though I am pretty familiar with calendrics and am the author of YetAnotherToyGregorianCalendar routine). But I have to argue w
by ajross 15y ago
I know nothing about Joda Time (though I am pretty familiar with calendrics and am the author of YetAnotherToyGregorianCalendar routine). But I have to argue with the premise of your statement:
You cannot work reliably with dates and times, period. Even using the right software doesn't save you from a representation that sucks. Every spring in most places there are time values that don't exist. Every fall there are time values that are ambiguous and happen twice. Every year a bunch of governments change their time zone definitions and muck up a bunch of stored "future" times.
Do your work with "time" as a numeric quantity on a number line and convert to (never from) human-readable dates on output. If you need to parse a date, ever, you are doommed.
- ajross 15y agoApropos: http://blogs.msdn.com/b/windowsazure/archive/2012/03/09/summary-of-windows-azure-service-disruption-on-feb-29th-2012.aspx http://blogs.msdn.com/b/windowsazure/archive/2012/03/09/summ...