Class IntervalType
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.common.IntervalType
-
public final class IntervalType extends java.lang.ObjectRepresents popular interval formats.- Since:
- 1.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static IntervalTypeDAY_HOURstatic IntervalTypeDAY_HOUR_MINUTEstatic IntervalTypeHOUR_MINUTEstatic IntervalTypeHOUR_MINUTE_SECONDstatic IntervalTypeMINUTE_SECONDstatic IntervalTypeMONTH_DAYstatic IntervalTypeMONTH_WEEK_DAYstatic IntervalTypeWEEK_DAYstatic IntervalTypeWEEK_DAY_HOUR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCode()Returns the code of this interval type.com.onwbp.base.text.UserMessagegetLabel()Returns the localized label of this interval type.inthashCode()booleanisDayHour()Returnstrueif this has 'day - hour' format.booleanisDayHourMinute()Returnstrueif this has 'day - hour - minute' format.booleanisHourMinute()Returnstrueif this has 'hour - minute' format.booleanisHourMinuteSecond()Returnstrueif this has 'hour - minute - second' format.booleanisMinuteSecond()Returnstrueif this has 'minute - second' format.booleanisMonthDay()Returnstrueif this has 'month - day' format.booleanisMonthWeekDay()Returnstrueif this has 'month - week - day' format.booleanisWeekDay()Returnstrueif this has 'week - day' format.booleanisWeekDayHour()Returnstrueif this has 'week - day - hour' format.java.lang.StringtoString()
-
-
-
Field Detail
-
MONTH_DAY
public static final IntervalType MONTH_DAY
-
MONTH_WEEK_DAY
public static final IntervalType MONTH_WEEK_DAY
-
WEEK_DAY
public static final IntervalType WEEK_DAY
-
WEEK_DAY_HOUR
public static final IntervalType WEEK_DAY_HOUR
-
DAY_HOUR
public static final IntervalType DAY_HOUR
-
DAY_HOUR_MINUTE
public static final IntervalType DAY_HOUR_MINUTE
-
HOUR_MINUTE_SECOND
public static final IntervalType HOUR_MINUTE_SECOND
-
HOUR_MINUTE
public static final IntervalType HOUR_MINUTE
-
MINUTE_SECOND
public static final IntervalType MINUTE_SECOND
-
-
Method Detail
-
getLabel
public com.onwbp.base.text.UserMessage getLabel()
Returns the localized label of this interval type.
-
getCode
public java.lang.String getCode()
Returns the code of this interval type.
-
isMonthDay
public boolean isMonthDay()
Returnstrueif this has 'month - day' format.
-
isMonthWeekDay
public boolean isMonthWeekDay()
Returnstrueif this has 'month - week - day' format.
-
isWeekDay
public boolean isWeekDay()
Returnstrueif this has 'week - day' format.
-
isWeekDayHour
public boolean isWeekDayHour()
Returnstrueif this has 'week - day - hour' format.
-
isDayHour
public boolean isDayHour()
Returnstrueif this has 'day - hour' format.
-
isDayHourMinute
public boolean isDayHourMinute()
Returnstrueif this has 'day - hour - minute' format.
-
isHourMinuteSecond
public boolean isHourMinuteSecond()
Returnstrueif this has 'hour - minute - second' format.- Since:
- 2.2.0
-
isHourMinute
public boolean isHourMinute()
Returnstrueif this has 'hour - minute' format.- Since:
- 2.2.0
-
isMinuteSecond
public boolean isMinuteSecond()
Returnstrueif this has 'minute - second' format.- Since:
- 2.2.0
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-