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

◆ ParseSign()

static bool System.DateTimeParse.ParseSign ( ref __DTString str,
ref bool result )
inlinestaticprivate

Definition at line 2767 of file DateTimeParse.cs.

2768 {
2769 if (!str.GetNext())
2770 {
2771 return false;
2772 }
2773 switch (str.GetChar())
2774 {
2775 case '+':
2776 result = true;
2777 return true;
2778 case '-':
2779 result = false;
2780 return true;
2781 default:
2782 return false;
2783 }
2784 }

References System.str.

Referenced by System.DateTimeParse.ParseTimeZoneOffset().