public class ODateHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEF_DATE_FORMAT |
static String |
DEF_DATETIME_FORMAT |
Constructor and Description |
---|
ODateHelper() |
Modifier and Type | Method and Description |
---|---|
static Calendar |
getDatabaseCalendar() |
static Calendar |
getDatabaseCalendar(ODatabaseDocumentInternal db) |
static TimeZone |
getDatabaseTimeZone() |
static TimeZone |
getDatabaseTimeZone(ODatabaseDocumentInternal db) |
static String |
getDateFormat() |
static String |
getDateFormat(ODatabaseDocumentInternal db) |
static DateFormat |
getDateFormatInstance() |
static DateFormat |
getDateFormatInstance(ODatabaseDocumentInternal db) |
static String |
getDateTimeFormat() |
static String |
getDateTimeFormat(ODatabaseDocumentInternal db) |
static DateFormat |
getDateTimeFormatInstance() |
static DateFormat |
getDateTimeFormatInstance(ODatabaseDocumentInternal db) |
static Date |
now() |
public static final String DEF_DATE_FORMAT
public static final String DEF_DATETIME_FORMAT
public static Calendar getDatabaseCalendar()
public static Calendar getDatabaseCalendar(ODatabaseDocumentInternal db)
public static TimeZone getDatabaseTimeZone()
public static TimeZone getDatabaseTimeZone(ODatabaseDocumentInternal db)
public static DateFormat getDateFormatInstance()
public static DateFormat getDateFormatInstance(ODatabaseDocumentInternal db)
public static String getDateFormat()
public static String getDateFormat(ODatabaseDocumentInternal db)
public static DateFormat getDateTimeFormatInstance()
public static DateFormat getDateTimeFormatInstance(ODatabaseDocumentInternal db)
public static String getDateTimeFormat()
public static String getDateTimeFormat(ODatabaseDocumentInternal db)
public static Date now()
Copyright © 2009–2020 OrientDB. All rights reserved.