- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public enum CalendarPeriod extends Enum<CalendarPeriod> implements ProtocolMessageEnum
A CalendarPeriod
represents the abstract concept of a time period that has
a canonical start. Grammatically, "the start of the current
CalendarPeriod
." All calendar times begin at midnight UTC.
Protobuf enum google.type.CalendarPeriod
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
CALENDAR_PERIOD_UNSPECIFIED |
Undefined period, raises an error. |
CALENDAR_PERIOD_UNSPECIFIED_VALUE |
Undefined period, raises an error. |
DAY |
A day. |
DAY_VALUE |
A day. |
FORTNIGHT |
A fortnight. The first calendar fortnight of the year begins at the start of week 1 according to ISO 8601. |
FORTNIGHT_VALUE |
A fortnight. The first calendar fortnight of the year begins at the start of week 1 according to ISO 8601. |
HALF |
A half-year. Half-years start on dates 1-Jan and 1-Jul. |
HALF_VALUE |
A half-year. Half-years start on dates 1-Jan and 1-Jul. |
MONTH |
A month. |
MONTH_VALUE |
A month. |
QUARTER |
A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each year. |
QUARTER_VALUE |
A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each year. |
UNRECOGNIZED |
|
WEEK |
A week. Weeks begin on Monday, following ISO 8601. |
WEEK_VALUE |
A week. Weeks begin on Monday, following ISO 8601. |
YEAR |
A year. |
YEAR_VALUE |
A year. |
Static Methods
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |