Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class NodaTime.​Text.​TypeConverterSettings

Assembly: NodaTime

Inheritance: object → TypeConverterSettings

Ambient settings applied for the default type converters. There's no simple context to express this information in a more elegant way, although users can create their own type converters to apply if they wish to.

Properties

public static IDateTimeZoneProvider
DateTimeZoneProvider
Gets the <see cref="T:NodaTime.IDateTimeZoneProvider" /> to use to interpret a time zone ID read as part of a TypeConverter operation for a <see cref="T:NodaTime.ZonedDateTime" /> . Note that if a value other than <see cref="P:NodaTime.DateTimeZoneProviders.Tzdb" /> is required, it should be set on application startup, before any type converters are used. Type converters are cached internally by the framework, so changes to this property after the first type converter for <see cref="T:NodaTime.ZonedDateTime" /> is created will not generally be visible.
Remarks This property defaults to <see cref="P:NodaTime.DateTimeZoneProviders.Tzdb" /> .

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object