public class DateTimeUtil extends Object
DateTime
that uses the JVM timezone
for date / time related operations.
This is important as the JVM timezone and the system timezone may
differ which leads to different behavior in
SimpleDateFormat
(using JVM default timezone) and
JODA time (using system default timezone).CAM-1170
Constructor and Description |
---|
DateTimeUtil() |
Modifier and Type | Method and Description |
---|---|
static org.joda.time.DateTime |
now() |
static Date |
parseDate(String date) |
static org.joda.time.DateTime |
parseDateTime(String date) |
Copyright © 2021. All rights reserved.