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 |
Remarks
The following methods use the DateTimeMeasureUnit enumeration values:
- getGridAlignment()
- setGridAlignment(DateTimeMeasureUnit)
- getMeasureUnit()
- setMeasureUnit(DateTimeMeasureUnit)