public class DateTimeValue extends TimeBasedValue
| Modifier and Type | Method and Description |
|---|---|
static DateTimeValue |
asNull() |
static DateTimeValue |
create(Date date) |
static DateTimeValue |
create(long milliseconds) |
static DateTimeValue |
create(Long milliseconds) |
String |
forScript() |
int |
getDay() |
int |
getHour() |
int |
getMillisecond() |
int |
getMinute() |
int |
getMonth() |
int |
getSecond() |
ValueType |
getType() |
int |
getYear() |
compareTo, getInstant, isNull, toStringpublic static DateTimeValue asNull()
public static DateTimeValue create(long milliseconds)
public static DateTimeValue create(Long milliseconds)
public static DateTimeValue create(Date date)
public int getYear()
public int getMonth()
public int getDay()
public int getHour()
public int getMinute()
public int getSecond()
public int getMillisecond()
Copyright © 2012. All Rights Reserved.