Module: Google::Type::CalendarPeriod
- Defined in:
- proto_docs/google/type/calendar_period.rb
Overview
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.
Constant Summary collapse
- CALENDAR_PERIOD_UNSPECIFIED =
Undefined period, raises an error.
0
- DAY =
A day.
1
- WEEK =
A week. Weeks begin on Monday, following ISO 8601.
2
- FORTNIGHT =
A fortnight. The first calendar fortnight of the year begins at the start of week 1 according to ISO 8601.
3
- MONTH =
A month.
4
- QUARTER =
A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each year.
5
- HALF =
A half-year. Half-years start on dates 1-Jan and 1-Jul.
6
- YEAR =
A year.
7