public class DateTimeValue extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
DateTimeValue.IValueProcessor |
Constructor and Description |
---|
DateTimeValue(Date startDate) |
DateTimeValue(Date startDate,
Date endDate) |
Modifier and Type | Method and Description |
---|---|
DateTimeHelper |
bindEndDate() |
DateTimeHelper |
bindStartDate() |
static DateTimeValue |
get(String paramName) |
static void |
get(String paramName,
DateTimeValue.IValueProcessor valueProcessor) |
Date |
getEndDate() |
long |
getEndDateTimeMillis() |
Long |
getEndDateTimeMillisOrNull() |
Timestamp |
getEndDateTimestampOrNull() |
Date |
getStartDate() |
long |
getStartDateTimeMillis() |
Long |
getStartDateTimeMillisOrNull() |
Timestamp |
getStartDateTimestampOrNull() |
boolean |
isNullEndDate() |
boolean |
isNullStartDate() |
boolean |
isSingle() |
static DateTimeValue |
parse(String dateTimeStr,
boolean single) |
static DateTimeValue |
parse(String dateTimeStr,
String pattern,
boolean single) |
static DateTimeValue |
parse(String dateTimeStr,
String pattern,
String separator,
boolean single) |
public DateTimeValue(Date startDate)
public static DateTimeValue get(String paramName)
public static void get(String paramName, DateTimeValue.IValueProcessor valueProcessor)
public static DateTimeValue parse(String dateTimeStr, boolean single)
public static DateTimeValue parse(String dateTimeStr, String pattern, boolean single)
public static DateTimeValue parse(String dateTimeStr, String pattern, String separator, boolean single)
public Date getStartDate()
public Date getEndDate()
public boolean isSingle()
public boolean isNullStartDate()
public boolean isNullEndDate()
public long getStartDateTimeMillis()
public Long getStartDateTimeMillisOrNull()
public Timestamp getStartDateTimestampOrNull()
public long getEndDateTimeMillis()
public Long getEndDateTimeMillisOrNull()
public Timestamp getEndDateTimestampOrNull()
public DateTimeHelper bindStartDate()
public DateTimeHelper bindEndDate()
Copyright © 2022. All rights reserved.