DateRangeError
Enum describing possible date range errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
INVALID_DATE
|
Invalid date. |
START_DATE_AFTER_END_DATE
|
The start date was after the end date. |
CANNOT_SET_DATE_TO_PAST
|
Cannot set date to past time |
AFTER_MAXIMUM_ALLOWABLE_DATE
|
A date was used that is past the system "last" date. |
CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED
|
Trying to change start date on a resource that has started. |
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-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["This enum defines potential errors related to date ranges in a system."],["Errors can indicate invalid dates, chronological inconsistencies (start date after end date), or restrictions on past dates."],["Specific errors address setting dates prior to the current time, exceeding the system's maximum allowable date, and modifying start dates for already initiated resources."]]],[]]