GetAmbiguousTimeOffsets()

TimeZoneInfo::GetAmbiguousTimeOffsets(DateTime) const method

Gets UTC dates and times that a specified date and time can be mapped to.

ArrayPtr<TimeSpan> System::TimeZoneInfo::GetAmbiguousTimeOffsets(DateTime date_time) const

Arguments

ParameterTypeDescription
date_timeDateTimeDate and time.

Return Value

Array of UTC dates and times.

TimeZoneInfo::GetAmbiguousTimeOffsets(const DateTimeOffset&) const method

Gets UTC dates and times that a specified date and time can be mapped to.

ArrayPtr<TimeSpan> System::TimeZoneInfo::GetAmbiguousTimeOffsets(const DateTimeOffset &date_time_offset) const

Arguments

ParameterTypeDescription
date_time_offsetconst DateTimeOffset&Date and time.

Return Value

Array of UTC dates and times.

See Also