Class DateTimeUtil
- java.lang.Object
-
- org.camunda.bpm.engine.impl.calendar.DateTimeUtil
-
public class DateTimeUtil extends java.lang.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 java.util.Date
parseDate(java.lang.String date)
static org.joda.time.DateTime
parseDateTime(java.lang.String date)
-