DateError
Stay organized with collections
Save and categorize content based on your preferences.
Enum describing possible date errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
INVALID_FIELD_VALUES_IN_DATE
|
Given field values do not correspond to a valid date. |
INVALID_FIELD_VALUES_IN_DATE_TIME
|
Given field values do not correspond to a valid date time. |
INVALID_STRING_DATE
|
The string date's format should be yyyy-mm-dd. |
INVALID_STRING_DATE_TIME_MICROS
|
The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. |
INVALID_STRING_DATE_TIME_SECONDS
|
The string date time's format should be yyyy-mm-dd hh:mm:ss. |
INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET
|
The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. |
EARLIER_THAN_MINIMUM_DATE
|
Date is before allowed minimum. |
LATER_THAN_MAXIMUM_DATE
|
Date is after allowed maximum. |
DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE
|
Date range bounds are not in order. |
DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL
|
Both dates in range are null. |
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-01-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"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"
}]
{
"last_modified": "Last updated 2024-01-04 UTC.",
"state": ""
}