13 references to NullOffset
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Formatter\Utf8Formatter.Date.cs (1)
116
private static TimeSpan NullOffset => new TimeSpan(DateTimeFormat.
NullOffset
);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (12)
790
bool dateTimeFormat = offset.Ticks ==
NullOffset
;
858
if (offset.Ticks ==
NullOffset
)
918
Format(dateTime, format, provider, new TimeSpan(
NullOffset
));
928
if (offset.Ticks ==
NullOffset
) // default DateTime.ToString case
1030
TryFormat(dateTime, destination, out charsWritten, format, provider, new TimeSpan(
NullOffset
));
1042
if (offset.Ticks ==
NullOffset
) // default DateTime.ToString case
1160
if (offset.Ticks !=
NullOffset
)
1447
if (offset.Ticks ==
NullOffset
)
1567
if (offset.Ticks !=
NullOffset
)
1608
if (offset.Ticks !=
NullOffset
)
1666
if (offset.Ticks !=
NullOffset
)
1697
if (offset.Ticks !=
NullOffset
)