Components that make up time.
Constants
TIME_PART_UNSPECIFIED
value: 0
Unused
YEAR
value: 1
[0-9999]
MONTH
value: 2
[1-12]
DAY_OF_MONTH
value: 3
[1-31]
DAY_OF_WEEK
value: 4
[1-7]
WEEK_OF_YEAR
value: 5
[1-53]
HOUR_OF_DAY
value: 6
[0-23]
Components that make up time.
value: 0
Unused
value: 1
[0-9999]
value: 2
[1-12]
value: 3
[1-31]
value: 4
[1-7]
value: 5
[1-53]
value: 6
[0-23]
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-11-06 UTC.