Class DateTimeUtil
- java.lang.Object
-
- org.camunda.bpm.engine.impl.calendar.DateTimeUtil
-
public class DateTimeUtil extends Object
Utility forDateTime
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 inSimpleDateFormat
(using JVM default timezone) and JODA time (using system default timezone).- Author:
- Nico Rehwaldt
-
-
Constructor Summary
Constructors Constructor Description DateTimeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.joda.time.DateTime
now()
static Date
parseDate(String date)
static org.joda.time.DateTime
parseDateTime(String date)
-