| 1132 | //------------------------------------- |
| 1133 | |
| 1134 | static const TimeZoneDesc* getDesc(USHORT timeZone) |
| 1135 | { |
| 1136 | const USHORT id = MAX_USHORT - timeZone; |
| 1137 | if (id < timeZoneStartup().getTimeZoneList().getCount()) |
| 1138 | return &timeZoneStartup().getTimeZoneList()[id]; |
| 1139 | |
| 1140 | status_exception::raise(Arg::Gds(isc_invalid_timezone_id) << Arg::Num(timeZone)); |
| 1141 | return nullptr; |
| 1142 | } |
| 1143 | |
| 1144 | // Returns true if the time zone is offset-based or false if region-based. |
| 1145 | static inline bool isOffset(USHORT timeZone) |
no test coverage detected