Noda Time
Show / Hide Table of Contents

Class DateTimeZoneProviderExtensions

Extensions for IDateTimeZoneProvider
Inheritance
Object
DateTimeZoneProviderExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: NodaTime.Extensions
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
Type Name Description
IDateTimeZoneProvider provider The provider to fetch time zones from.
Returns
Type Description
IEnumerable<DateTimeZone> All the time zones from the provider. (The value returned is never null.)
Exceptions
Type Condition
ArgumentNullException provider is null.
In This Article
Back to top Generated by DocFX