org.camunda.bpm.engine.impl.calendar
Class DateTimeUtil
java.lang.Object
org.camunda.bpm.engine.impl.calendar.DateTimeUtil
public class DateTimeUtil
- extends Object
Utility for 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).
- Author:
- Nico Rehwaldt
- See Also:
CAM-1170
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeUtil
public DateTimeUtil()
now
public static org.joda.time.DateTime now()
parseDateTime
public static org.joda.time.DateTime parseDateTime(String date)
parseDate
public static Date parseDate(String date)
Copyright © 2017 camunda services GmbH. All rights reserved.