| 982 | } |
| 983 | |
| 984 | std::int32_t DateTime::TimeZone::GetOffset() const noexcept |
| 985 | { |
| 986 | // Get the offset using standard library |
| 987 | // It returns the difference GMT-local while we want to have the offset _from_ GMT, hence the '-' |
| 988 | return (_offset == INT32_MIN ? -Implementation::GetTimeZone() : _offset); |
| 989 | } |
| 990 | |
| 991 | DateTime::Tm::Tm() noexcept |
| 992 | : Millisecond(0), Second(0), Minute(0), Hour(0), Day(0), DayOfYear(0), Month(0), Year(-1), _dayOfWeek(-1) |
no test coverage detected