- Updated: NuGet packages.
- Updated: NuGet packages.
- Added: New
TimeZones.GetTimeZoneByCoordinate()
methods accepting an instance ofICoordinate
. - Added:
ICoordinate
interface andCoordinate
implementation.
- Updated: NuGet packages.
- Changed: Single time zones returned by a coordinate or IANA id lookup may not exist, so the return is explicitly a nullable
TimeZone
and the selection LINQ has been changed toFirstOrDefault
.
- Added: New
DateTimeOffsetExtensions.AtTimeZone()
methods accepting aTimeSpan
UTC offset. - Added: XML docs.
- Added:
TimeZone.UtcOffsetTs
TimeSpan
property. - Added: New
TimeZones.GetTimeZoneByCoordinate()
method accepting aDateTimeOffset
value to get the time zone in the past, present, or future. - Added: New
TimeZones.GetTimeZoneByIanaId()
method accepting aDateTimeOffset
value to get the time zone in the past, present, or future. - Added: New
TimeZones.GetTimeZoneByWindowsId()
method accepting aDateTimeOffset
value to get the time zone in the past, present, or future. - Overhauled:
TimeZones.GetTimeZones()
method. - Deprecated: Old
DateTimeOffsetExtensions.AtTimeZone()
methods accepting aTimeZone
object. - Deprecated:
DateTimeExtensions
because it's kind of irrelevant. If you want to adjust time zones of the value, just use aDateTimeOffset
instead. - Deprecated:
TimeZone.UtcOffset
property.
- Initial release and subsequent dependency updates.