Send feedback
Enum CalendarPeriod (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public enum CalendarPeriod
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.
Namespace
Google.Type
Assembly
Google.Api.CommonProtos.dll
Fields
Name Description Day
A day.
Fortnight
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.
Month
A month.
Quarter
A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each
year.
Unspecified
Undefined period, raises an error.
Week
A week. Weeks begin on Monday, following
ISO 8601 .
Year
A year.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-09 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"last_modified": "Last updated 2024-08-09 UTC.",
"state": ""
}