The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.

Remarks

The following methods use the DateTimeMeasureUnit enumeration values:

Inheritance

Object
java.lang.Enum<DateTimeMeasureUnit>
DateTimeMeasureUnit

Implements

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

Inherited Members

java.lang.Object.equals(java.lang.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)
java.lang.Object.wait(long, int)
java.lang.Enum<E>.compareTo(E)
java.lang.Enum<E>.equals(java.lang.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)