37 lines
729 B
C#
37 lines
729 B
C#
namespace System.Buffers.Text;
|
|||
|
|
|
||
|
|
internal static class Utf8Constants
|
||
|
|
{
|
||
|
|
public const byte Colon = 58;
|
||
|
|
|
||
|
|
public const byte Comma = 44;
|
||
|
|
|
||
|
|
public const byte Minus = 45;
|
||
|
|
|
||
|
|
public const byte Period = 46;
|
||
|
|
|
||
|
|
public const byte Plus = 43;
|
||
|
|
|
||
|
|
public const byte Slash = 47;
|
||
|
|
|
||
|
|
public const byte Space = 32;
|
||
|
|
|
||
|
|
public const byte Hyphen = 45;
|
||
|
|
|
||
|
|
public const byte Separator = 44;
|
||
|
|
|
||
|
|
public const int GroupSize = 3;
|
||
|
|
|
||
|
|
public static readonly TimeSpan s_nullUtcOffset = TimeSpan.MinValue;
|
||
|
|
|
||
|
|
public const int DateTimeMaxUtcOffsetHours = 14;
|
||
|
|
|
||
|
|
public const int DateTimeNumFractionDigits = 7;
|
||
|
|
|
||
|
|
public const int MaxDateTimeFraction = 9999999;
|
||
|
|
|
||
|
|
public const ulong BillionMaxUIntValue = 4294967295000000000uL;
|
||
|
|
|
||
|
|
public const uint Billion = 1000000000u;
|
||
|
|
}
|