Version

GetAmbiguousTimeOffsets(TimeZoneToken,DateTimeOffset) Method

Gets the ambiguous time offsets for a time when a daylight time transition is occuring
Syntax
'Declaration
 
Public Overloads Overrides Function GetAmbiguousTimeOffsets( _
   ByVal token As TimeZoneToken, _
   ByVal dateTimeOffset As DateTimeOffset _
) As TimeSpan()
public override TimeSpan[] GetAmbiguousTimeOffsets( 
   TimeZoneToken token,
   DateTimeOffset dateTimeOffset
)

Parameters

token
An object that represents a specific time zone.
dateTimeOffset
The date time and offset
Exceptions
ExceptionDescription
System.ArgumentExceptionIf DateTime is not ambiguous.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also