public final class TimeUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_XD_DATE_FORMAT_PATTERN |
static java.lang.String |
DEFAULT_XD_DATE_TIME_FORMAT_PATTERN |
static java.lang.String |
DEFAULT_XD_DURATION_FORMAT_PATTERN |
static java.lang.String |
DEFAULT_XD_TIME_FORMAT_PATTERN |
static java.lang.String |
DEFAULT_XD_TIMEZONE_ID |
Modifier and Type | Method and Description |
---|---|
static java.text.DateFormat |
getDefaultDateFormat() |
static java.text.DateFormat |
getDefaultDateTimeFormat() |
static java.text.DateFormat |
getDefaultDurationFormat() |
static java.text.DateFormat |
getDefaultTimeFormat() |
static java.util.TimeZone |
getDefaultTimeZone() |
static java.util.TimeZone |
getJvmTimeZone() |
public static final java.lang.String DEFAULT_XD_DATE_FORMAT_PATTERN
public static final java.lang.String DEFAULT_XD_TIME_FORMAT_PATTERN
public static final java.lang.String DEFAULT_XD_DATE_TIME_FORMAT_PATTERN
public static final java.lang.String DEFAULT_XD_DURATION_FORMAT_PATTERN
public static final java.lang.String DEFAULT_XD_TIMEZONE_ID
public static java.util.TimeZone getDefaultTimeZone()
TimeZone
using ID DEFAULT_XD_TIMEZONE_ID
public static java.util.TimeZone getJvmTimeZone()
TimeZone
.public static java.text.DateFormat getDefaultDateFormat()
DateFormat
using pattern DEFAULT_XD_DATE_FORMAT_PATTERN
public static java.text.DateFormat getDefaultTimeFormat()
DateFormat
pattern DEFAULT_XD_TIME_FORMAT_PATTERN
public static java.text.DateFormat getDefaultDateTimeFormat()
DateFormat
pattern DEFAULT_XD_DATE_TIME_FORMAT_PATTERN
public static java.text.DateFormat getDefaultDurationFormat()
DateFormat
pattern DEFAULT_XD_DURATION_FORMAT_PATTERN