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.​TimeZones.​ZoneLocalMappingResolver

Assembly: NodaTime

Inheritance: object → delegate → System.​MulticastDelegate → ZoneLocalMappingResolver

Implemented Interfaces

Resolves the result of attempting to map a local date and time to a target time zone.

Remarks

<para> This delegate is consumed by <see cref="M:NodaTime.LocalDateTime.InZone(NodaTime.DateTimeZone,NodaTime.TimeZones.ZoneLocalMappingResolver)" /> and <see cref="M:NodaTime.DateTimeZone.ResolveLocal(NodaTime.LocalDateTime,NodaTime.TimeZones.ZoneLocalMappingResolver)" />, among others. It provides the strategy for converting a <see cref="T:NodaTime.TimeZones.ZoneLocalMapping" /> (the result of attempting to map a local date and time to a target time zone) to a <see cref="T:NodaTime.ZonedDateTime" />. </para> <para>See the <see cref="T:NodaTime.TimeZones.Resolvers" /> class for predefined implementations and a way of combining separate <see cref="T:NodaTime.TimeZones.SkippedTimeResolver" /> and <see cref="T:NodaTime.TimeZones.AmbiguousTimeResolver" /> values.</para>

Properties

public bool
HasSingleTarget
public object
Target

Methods

public ZonedDateTime
Invoke​(ZoneLocalMapping mapping)
BeginInvoke​(ZoneLocalMapping mapping, System.​AsyncCallback callback, object object)
public ZonedDateTime
EndInvoke​(System.​IAsyncResult result)
protected delegate
CombineImpl​(delegate follow)
public bool
Equals​(object obj)
public int
GetHashCode​()
public delegate[]
GetInvocationList​()
GetMethodImpl​()
protected delegate
RemoveImpl​(delegate value)
public object
Clone​()
Inherited from delegate
public object
DynamicInvoke​(object[] args)
Inherited from delegate
protected object
DynamicInvokeImpl​(object[] args)
Inherited from delegate
protected void
Finalize​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object