Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PrintDate()

void System.Xml.Schema.XsdDateTime.PrintDate ( StringBuilder sb)
inlineprivate

Definition at line 688 of file XsdDateTime.cs.

689 {
690 char[] array = new char[s_lzyyyy_MM_dd];
691 GetYearMonthDay(out var year, out var month, out var day);
692 IntToCharArray(array, 0, year, 4);
693 array[s_lzyyyy] = '-';
695 array[s_lzyyyy_MM] = '-';
697 sb.Append(array);
698 }
StringBuilder Append(char value, int repeatCount)
void ShortToCharArray(char[] text, int start, int value)
static readonly int s_lzyyyy_MM_dd
void IntToCharArray(char[] text, int start, int value, int digits)
static readonly int s_lzyyyy_MM
static readonly int s_lzyyyy_
void GetYearMonthDay(out int year, out int month, out int day)
static readonly int s_lzyyyy_MM_
static readonly int s_lzyyyy

References System.Text.StringBuilder.Append(), System.array, System.Xml.Dictionary, System.Xml.Schema.XsdDateTime.GetYearMonthDay(), System.Xml.Schema.XsdDateTime.IntToCharArray(), System.Xml.Schema.XsdDateTime.s_lzyyyy, System.Xml.Schema.XsdDateTime.s_lzyyyy_, System.Xml.Schema.XsdDateTime.s_lzyyyy_MM, System.Xml.Schema.XsdDateTime.s_lzyyyy_MM_, System.Xml.Schema.XsdDateTime.s_lzyyyy_MM_dd, System.Xml.Schema.XsdDateTime.ShortToCharArray(), and System.year.

Referenced by System.Xml.Schema.XsdDateTime.ToString().