IsAmbiguousTime()

TimeZoneInfo::IsAmbiguousTime(DateTime) const method

Checks if specified date and time is ambiguous and can be mapped to many UTC times.

bool System::TimeZoneInfo::IsAmbiguousTime(DateTime date_time) const

Arguments

ParameterTypeDescription
date_timeDateTimeDate and Time.

Return Value

True if date_time is ambiguous.

TimeZoneInfo::IsAmbiguousTime(const DateTimeOffset&) const method

Checks if specified date and time is ambiguous and can be mapped to many UTC times.

bool System::TimeZoneInfo::IsAmbiguousTime(const DateTimeOffset &date_time_offset) const

Arguments

ParameterTypeDescription
date_time_offsetconst DateTimeOffset&Date and Time.

Return Value

True if date_time is ambiguous.

See Also