Class DateTimeZoneProviderExtensions
Inheritance
DateTimeZoneProviderExtensions
Assembly: NodaTime.dll
Syntax
public static class DateTimeZoneProviderExtensions
Methods
GetAllZones(IDateTimeZoneProvider)
Returns a lazily-evaluated sequence of time zones from the specified provider,
in the same order in which the IDs are returned by the provider.
Declaration
public static IEnumerable<DateTimeZone> GetAllZones(this IDateTimeZoneProvider provider)
Parameters
Returns
Type |
Description |
IEnumerable<DateTimeZone> |
All the time zones from the provider. (The value returned is never null.) |
Exceptions