Neil.Martin wrote: > I am unsure if LocalDateTime is intended to replace DateTime. In the > javadocs for YearMonthDay and TimeOfDay it explicitly states that they > are replaced by LocalDate and LocalTime respectively. However I cannot > find anything about DateTime being replaced by LocalDateTime. I have > been switching usage to the Local* classes and was wondering if I should > be switching from DateTime to LocalDateTime.
LocalDateTime represents a date and a time *without* a time-zone. DateTime represents a date and a time *with* a time-zone. Which object you use depends on whether you need to represent a datetime with or without time-zone. Stephen ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
