11 references to GetLocalUtcOffset
mscorlib (11)
system\datetime.cs (3)
716
offsetTicks = TimeZoneInfo.
GetLocalUtcOffset
(DateTime.MinValue, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks;
719
offsetTicks = TimeZoneInfo.
GetLocalUtcOffset
(DateTime.MaxValue, TimeZoneInfoOptions.NoThrowOnInvalidTime).Ticks;
820
TimeSpan offset = TimeZoneInfo.
GetLocalUtcOffset
(this, TimeZoneInfoOptions.NoThrowOnInvalidTime);
system\datetimeoffset.cs (2)
73
offset = TimeZoneInfo.
GetLocalUtcOffset
(dateTime, TimeZoneInfoOptions.NoThrowOnInvalidTime);
87
if (offset != TimeZoneInfo.
GetLocalUtcOffset
(dateTime, TimeZoneInfoOptions.NoThrowOnInvalidTime)) {
system\globalization\datetimeformat.cs (4)
726
offset = TimeZoneInfo.
GetLocalUtcOffset
(DateTime.Now, TimeZoneInfoOptions.NoThrowOnInvalidTime);
738
offset = TimeZoneInfo.
GetLocalUtcOffset
(dateTime, TimeZoneInfoOptions.NoThrowOnInvalidTime);
741
offset = TimeZoneInfo.
GetLocalUtcOffset
(dateTime, TimeZoneInfoOptions.NoThrowOnInvalidTime);
779
offset = TimeZoneInfo.
GetLocalUtcOffset
(dateTime, TimeZoneInfoOptions.NoThrowOnInvalidTime);
system\globalization\datetimeparse.cs (2)
2591
result.timeZoneOffset = TimeZoneInfo.
GetLocalUtcOffset
(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime);
2638
result.timeZoneOffset = TimeZoneInfo.
GetLocalUtcOffset
(result.parsedDate, TimeZoneInfoOptions.NoThrowOnInvalidTime);