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