AI-generated Key Takeaways
-
The document describes an enum that lists possible date errors.
-
Errors include issues with invalid field values for dates or datetimes, incorrect string formats, and dates falling outside allowed minimum or maximum ranges.
-
The enum also covers errors related to date ranges, such as bounds not being in order or both minimum and maximum dates being null.
-
Specific string date formats are provided for various precision levels (seconds, micros, with offset).
Enum describing possible date errors.
Enums | |
---|---|
|
Enum unspecified. |
|
The received error code is not known in this version. |
|
Given field values do not correspond to a valid date. |
|
Given field values do not correspond to a valid date time. |
|
The string date's format should be yyyy-mm-dd. |
|
The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. |
|
The string date time's format should be yyyy-mm-dd hh:mm:ss. |
|
The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. |
|
Date is before allowed minimum. |
|
Date is after allowed maximum. |
|
Date range bounds are not in order. |
|
Both dates in range are null. |