public final class IntervalType extends Object
| Modifier and Type | Field and Description |
|---|---|
static IntervalType |
DAY_HOUR |
static IntervalType |
DAY_HOUR_MINUTE |
static IntervalType |
HOUR_MINUTE |
static IntervalType |
HOUR_MINUTE_SECOND |
static IntervalType |
MINUTE_SECOND |
static IntervalType |
MONTH_DAY |
static IntervalType |
MONTH_WEEK_DAY |
static IntervalType |
WEEK_DAY |
static IntervalType |
WEEK_DAY_HOUR |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode()
Returns the code of this interval type.
|
com.onwbp.base.text.UserMessage |
getLabel()
Returns the localized label of this interval type.
|
int |
hashCode() |
boolean |
isDayHour()
Returns
true if this has 'day - hour' format. |
boolean |
isDayHourMinute()
Returns
true if this has 'day - hour - minute' format. |
boolean |
isHourMinute()
Returns
true if this has 'hour - minute' format. |
boolean |
isHourMinuteSecond()
Returns
true if this has 'hour - minute - second' format. |
boolean |
isMinuteSecond()
Returns
true if this has 'minute - second' format. |
boolean |
isMonthDay()
Returns
true if this has 'month - day' format. |
boolean |
isMonthWeekDay()
Returns
true if this has 'month - week - day' format. |
boolean |
isWeekDay()
Returns
true if this has 'week - day' format. |
boolean |
isWeekDayHour()
Returns
true if this has 'week - day - hour' format. |
String |
toString() |
public static final IntervalType MONTH_DAY
public static final IntervalType MONTH_WEEK_DAY
public static final IntervalType WEEK_DAY
public static final IntervalType WEEK_DAY_HOUR
public static final IntervalType DAY_HOUR
public static final IntervalType DAY_HOUR_MINUTE
public static final IntervalType HOUR_MINUTE_SECOND
public static final IntervalType HOUR_MINUTE
public static final IntervalType MINUTE_SECOND
public com.onwbp.base.text.UserMessage getLabel()
public String getCode()
public boolean isMonthDay()
true if this has 'month - day' format.public boolean isMonthWeekDay()
true if this has 'month - week - day' format.public boolean isWeekDay()
true if this has 'week - day' format.public boolean isWeekDayHour()
true if this has 'week - day - hour' format.public boolean isDayHour()
true if this has 'day - hour' format.public boolean isDayHourMinute()
true if this has 'day - hour - minute' format.public boolean isHourMinuteSecond()
true if this has 'hour - minute - second' format.public boolean isHourMinute()
true if this has 'hour - minute' format.public boolean isMinuteSecond()
true if this has 'minute - second' format.