Skip to main content

DateTimeMeasureUnit Enum

Lists the values that specify the detail level for date-time values.

Declaration

public final enum DateTimeMeasureUnit
extends Enum<DateTimeMeasureUnit>

Members

Name Description
DAY

Specifies a day as the measurement unit for date-time values.

DEFAULT

The default detail level for date-time values should be used.

HOUR

Specifies an hour as the measurement unit for date-time values.

MILLISECOND

Specifies a millisecond as the measurement unit for date-time values.

MINUTE

Specifies a minute as the measurement unit for date-time values.

MONTH

Specifies a month as the measurement unit for date-time values.

QUARTER

Specifies a quarter as the measurement unit for date-time values.

SECOND

Specifies a second as the measurement unit for date-time values.

WEEK

Specifies a week as the measurement unit for date-time values.

YEAR

Specifies a year as the measurement unit for date-time values.

valueOf(String)

Returns the enumeration constant with the specified name.

values()

Returns the array containing all the DateTimeMeasureUnit enumeration values in the order they are declared.

Remarks

The following methods use the DateTimeMeasureUnit enumeration values:

Implements

java.lang.Comparable<DateTimeMeasureUnit>
java.io.Serializable

Inherited Members

java.lang.Object.equals(java.lang.Object)(Object)
java.lang.Object.hashCode()()
java.lang.Object.notify()()
java.lang.Object.notifyAll()()
java.lang.Object.toString()()
java.lang.Object.wait()()
java.lang.Object.wait(long)(long)
java.lang.Object.wait(long, int)(long,int)
java.lang.Enum<E>.compareTo(E)(E)
java.lang.Enum<E>.equals(java.lang.Object)(Object)
java.lang.Enum<E>.getDeclaringClass()()
java.lang.Enum<E>.hashCode()()
java.lang.Enum<E>.name()()
java.lang.Enum<E>.ordinal()()
java.lang.Enum<E>.toString()()
java.lang.Enum<E>.valueOf<T>(java.lang.Class<T>, java.lang.String)(java.lang.Class<T>,String)

Inheritance

Object
java.lang.Enum<DateTimeMeasureUnit>
DateTimeMeasureUnit