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

◆ PrintYear()

static void System.Xml.Xsl.Runtime.XsltFunctions.PrintYear ( char[] text,
int value )
inlinestaticprivate

Definition at line 495 of file XsltFunctions.cs.

496 {
497 text[0] = (char)(value / 1000 % 10 + 48);
498 text[1] = (char)(value / 100 % 10 + 48);
499 text[2] = (char)(value / 10 % 10 + 48);
500 text[3] = (char)(value / 1 % 10 + 48);
501 }

References System.text, and System.value.

Referenced by System.Xml.Xsl.Runtime.XsltFunctions.MSUtc(), and System.Xml.Xsl.Runtime.XsltFunctions.PrintDate().