enum TimeZoneError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
TimeZoneError.Reason describes reasons for invalid timezones.
The enumeration provides specific reasons for invalid timezone IDs, including unsupported IDs, incorrect format (must be tz database format), and unknown errors.
Several services such as ForecastService, LineItemService, OrderService, ProposalLineItemService, ProposalService, and UserService are associated with TimeZoneError.Reason.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The core content details the `TimeZoneError` within a service, specifically highlighting its `Reason` enumeration. This error addresses issues with time zone handling. There are three reasons: `INVALID_TIMEZONE_ID`, when an unsupported ID is used; `TIMEZONE_ID_IN_WRONG_FORMAT`, when the ID is not in tz database format; and `UNKNOWN`, for unspecified issues. These reasons apply to various services including `ForecastService`, `LineItemService`, `OrderService`, `ProposalLineItemService`, `ProposalService`, and `UserService`.\n"]]