15 references to Local
mscorlib (7)
system\datetime.cs (3)
726
offsetTicks = TimeZoneInfo.GetUtcOffsetFromUtc(utcDt, TimeZoneInfo.
Local
, out isDaylightSavings, out isAmbiguousLocalDst).Ticks;
801
return TimeZoneInfo.
Local
.IsDaylightSavingTime(this, TimeZoneInfoOptions.NoThrowOnInvalidTime);
1403
Int64 offset = TimeZoneInfo.GetUtcOffsetFromUtc(this, TimeZoneInfo.
Local
, out isDaylightSavings, out isAmbiguousLocalDst).Ticks;
system\globalization\datetimeparse.cs (2)
2712
TimeZoneInfo tz = TimeZoneInfo.
Local
;
2738
resultTicks += TimeZoneInfo.GetUtcOffsetFromUtc(utcDt, TimeZoneInfo.
Local
, out isDaylightSavings, out isAmbiguousLocalDst).Ticks;
system\timezoneinfo.cs (2)
672
if (dateTime.Kind == DateTimeKind.Local && String.Compare(sourceTimeZoneId, TimeZoneInfo.
Local
.Id, StringComparison.OrdinalIgnoreCase) == 0) {
2041
isDaylightSavings = GetIsDaylightSavingsFromUtc(time, timeYear, match.offset, match.rule, out isAmbiguousLocalDst, TimeZoneInfo.
Local
);
System (1)
net\System\Net\mail\SmtpDateTime.cs (1)
131
TimeSpan localTimeZone = TimeZoneInfo.
Local
.GetUtcOffset(value);
System.Runtime.Serialization (3)
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (2)
208
tickCount = value.Ticks - TimeZoneInfo.
Local
.GetUtcOffset(value).Ticks;
232
ts = TimeZoneInfo.
Local
.GetUtcOffset(value.ToLocalTime());
System\Xml\XmlConverter.cs (1)
1105
TimeSpan ts = TimeZoneInfo.
Local
.GetUtcOffset(value);
System.Xml (4)
System\Xml\Schema\XsdDateTime.cs (4)
176
TimeSpan utcOffset = TimeZoneInfo.
Local
.GetUtcOffset(dateTime);
407
ticks += TimeZoneInfo.
Local
.GetUtcOffset(result).Ticks;
420
ticks += TimeZoneInfo.
Local
.GetUtcOffset(result).Ticks;
465
result = new DateTimeOffset(dt, TimeZoneInfo.
Local
.GetUtcOffset(dt));