The UnitEnum type specifies the time units
supported. Use the
UnitScale property to
specify the time scale. Use the
Unit property to
specify the time unit in the level. The UnitEnum type includes the following
time units:
| | Name | Value | Description | |
| |
exYear | 0
|
Indicates the year. Values: ..., 2001, 2002, 2003, ...
| |
| |
exHalfYear | 1
|
A date between January 1st and June 31 indicates the first half of the year, and
from July 1 to December 31, indicates the second half of the year. Values: 1 and
2
| |
| |
exQuarterYear | 2
|
A date between January 1st and March 31 indicates the first quarter of the year,
a date between April 1st and June 30 indicates the second quarter of the year, a
date between July 1st and September 30 indicates the third quarter of the year,
and if a date between October 1st and December 31 indicates the forth quarter of
the year. Values: 1, 2, 3 and 4
| |
| |
exMonth | 16
|
Indicates the month. Values: 1 ( January ), 2 ( February ), ..., and 12 (
December ). Use the MonthNames property to
specify the name of the months.
| |
| |
exThirdMonth | 17
|
The first ten days in a month indicates the first third of the month, the next
10 days indicates the second third of the month, and the last 10 days in the
month indicates the last third of the month. Values: 1, 2 and 3.
| |
| |
exWeek | 256
|
Indicates the week in the year. Values: 1,2,...,53. Use the WeekDays
property to specify the name of the days in the week.
| |
| |
exDay | 4096
|
Indicates the day of the date. Values: 1,2,..,31
| |
| |
exHour | 65536
|
Indicates the hour.
| |
| |
exMinute | 1048576
|
Indicates the minute.
| |
| |
exSecond | 16777216
|
Indicates the second.
| |