Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | Parser |
Public Member Functions | |
XsdDateTime (string text, XsdDateTimeFlags kinds) | |
XsdDateTime (DateTime dateTime, XsdDateTimeFlags kinds) | |
XsdDateTime (DateTimeOffset dateTimeOffset) | |
XsdDateTime (DateTimeOffset dateTimeOffset, XsdDateTimeFlags kinds) | |
DateTime | ToZulu () |
override string | ToString () |
Static Public Member Functions | |
static implicit | operator DateTime (XsdDateTime xdt) |
static implicit | operator DateTimeOffset (XsdDateTime xdt) |
Static Package Functions | |
static bool | TryParse (string text, XsdDateTimeFlags kinds, out XsdDateTime result) |
Properties | |
DateTimeTypeCode | InternalTypeCode [get] |
XsdDateTimeKind | InternalKind [get] |
XmlTypeCode | TypeCode [get] |
int | Year [get] |
int | Month [get] |
int | Day [get] |
int | Hour [get] |
int | Minute [get] |
int | Second [get] |
int | Fraction [get] |
int | ZoneHour [get] |
int | ZoneMinute [get] |
Private Types | |
enum | DateTimeTypeCode { DateTime , Time , Date , GYearMonth , GYear , GMonthDay , GDay , GMonth , XdrDateTime } |
enum | XsdDateTimeKind { Unspecified , Zulu , LocalWestOfZulu , LocalEastOfZulu } |
Private Member Functions | |
XsdDateTime (Parser parser) | |
void | InitiateXsdDateTime (Parser parser) |
void | PrintDate (StringBuilder sb) |
void | GetYearMonthDay (out int year, out int month, out int day) |
void | PrintTime (StringBuilder sb) |
void | PrintZone (StringBuilder sb) |
void | IntToCharArray (char[] text, int start, int value, int digits) |
void | ShortToCharArray (char[] text, int start, int value) |
Private Attributes | |
DateTime | _dt |
uint | _extra |
Static Private Attributes | |
static readonly int | s_lzyyyy = "yyyy".Length |
static readonly int | s_lzyyyy_ = "yyyy-".Length |
static readonly int | s_lzyyyy_MM = "yyyy-MM".Length |
static readonly int | s_lzyyyy_MM_ = "yyyy-MM-".Length |
static readonly int | s_lzyyyy_MM_dd = "yyyy-MM-dd".Length |
static readonly int | s_lzyyyy_MM_ddT = "yyyy-MM-ddT".Length |
static readonly int | s_lzHH = "HH".Length |
static readonly int | s_lzHH_ = "HH:".Length |
static readonly int | s_lzHH_mm = "HH:mm".Length |
static readonly int | s_lzHH_mm_ = "HH:mm:".Length |
static readonly int | s_lzHH_mm_ss = "HH:mm:ss".Length |
static readonly int | s_Lz_ = "-".Length |
static readonly int | s_lz_zz = "-zz".Length |
static readonly int | s_lz_zz_ = "-zz:".Length |
static readonly int | s_lz_zz_zz = "-zz:zz".Length |
static readonly int | s_Lz__ = "--".Length |
static readonly int | s_lz__mm = "--MM".Length |
static readonly int | s_lz__mm_ = "--MM-".Length |
static readonly int | s_lz__mm__ = "--MM--".Length |
static readonly int | s_lz__mm_dd = "--MM-dd".Length |
static readonly int | s_Lz___ = "---".Length |
static readonly int | s_lz___dd = "---dd".Length |
static readonly int[] | DaysToMonth365 |
static readonly int[] | DaysToMonth366 |
static readonly XmlTypeCode[] | s_typeCodes |
Definition at line 5 of file XsdDateTime.cs.