UNPKG

@sisyphus.js/google

Version:

Precompiled google common protos by sisyphus protobuf compiler

41 lines 1.77 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CalendarPeriod = void 0; /** * 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. */ var CalendarPeriod; (function (CalendarPeriod) { /** Undefined period, raises an error. */ CalendarPeriod[CalendarPeriod["CALENDAR_PERIOD_UNSPECIFIED"] = 0] = "CALENDAR_PERIOD_UNSPECIFIED"; /** A day. */ CalendarPeriod[CalendarPeriod["DAY"] = 1] = "DAY"; /** * A week. Weeks begin on Monday, following * [ISO 8601](https://en.wikipedia.org/wiki/ISO_week_date). */ CalendarPeriod[CalendarPeriod["WEEK"] = 2] = "WEEK"; /** * A fortnight. The first calendar fortnight of the year begins at the start * of week 1 according to * [ISO 8601](https://en.wikipedia.org/wiki/ISO_week_date). */ CalendarPeriod[CalendarPeriod["FORTNIGHT"] = 3] = "FORTNIGHT"; /** A month. */ CalendarPeriod[CalendarPeriod["MONTH"] = 4] = "MONTH"; /** * A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each * year. */ CalendarPeriod[CalendarPeriod["QUARTER"] = 5] = "QUARTER"; /** A half-year. Half-years start on dates 1-Jan and 1-Jul. */ CalendarPeriod[CalendarPeriod["HALF"] = 6] = "HALF"; /** A year. */ CalendarPeriod[CalendarPeriod["YEAR"] = 7] = "YEAR"; })(CalendarPeriod || (exports.CalendarPeriod = CalendarPeriod = {})); (function (CalendarPeriod) { CalendarPeriod.name = 'google.type.CalendarPeriod'; })(CalendarPeriod || (exports.CalendarPeriod = CalendarPeriod = {})); //# sourceMappingURL=calendar_period.js.map