43 instantiations of XsdDateTime
System.Private.Xml (43)
System\Xml\Schema\XmlValueConverter.cs (34)
529return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.Date)); 534return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.DateTime)); 550return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.GDay)); 555return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.GMonth)); 560return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.GMonthDay)); 565return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.GYear)); 570return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.GYearMonth)); 575return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.Date)); 580return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.DateTime)); 585return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.GDay)); 590return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.GMonth)); 595return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.GMonthDay)); 600return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.GYear)); 605return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.GYearMonth)); 652return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.Time)); 657return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.Time)); 683return (new XsdDateTime(value, XsdDateTimeFlags.Date)).ToString(); 688return (new XsdDateTime(value, XsdDateTimeFlags.DateTime)).ToString(); 703return (new XsdDateTime(value, XsdDateTimeFlags.GDay)).ToString(); 708return (new XsdDateTime(value, XsdDateTimeFlags.GMonth)).ToString(); 713return (new XsdDateTime(value, XsdDateTimeFlags.GMonthDay)).ToString(); 718return (new XsdDateTime(value, XsdDateTimeFlags.GYear)).ToString(); 723return (new XsdDateTime(value, XsdDateTimeFlags.GYearMonth)).ToString(); 728return (new XsdDateTime(value, XsdDateTimeFlags.Date)).ToString(); 733return (new XsdDateTime(value, XsdDateTimeFlags.DateTime)).ToString(); 738return (new XsdDateTime(value, XsdDateTimeFlags.GDay)).ToString(); 743return (new XsdDateTime(value, XsdDateTimeFlags.GMonth)).ToString(); 748return (new XsdDateTime(value, XsdDateTimeFlags.GMonthDay)).ToString(); 753return (new XsdDateTime(value, XsdDateTimeFlags.GYear)).ToString(); 758return (new XsdDateTime(value, XsdDateTimeFlags.GYearMonth)).ToString(); 777return (new XsdDateTime(value, XsdDateTimeFlags.Time)).ToString(); 782return (new XsdDateTime(value, XsdDateTimeFlags.Time)).ToString(); 874return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.AllXsd)); 879return (DateTimeOffset)(new XsdDateTime(value, XsdDateTimeFlags.AllXsd));
System\Xml\Schema\XsdDateTime.cs (1)
161result = new XsdDateTime(parser);
System\Xml\XmlConvert.cs (6)
725XsdDateTime xsdDateTime = new XsdDateTime(value, XsdDateTimeFlags.DateTime); 731XsdDateTime xsdDateTime = new XsdDateTime(value); 1212XsdDateTime xsdDateTime = new XsdDateTime(s, XsdDateTimeFlags.AllXsd); 1242XsdDateTime xsdDateTime = new XsdDateTime(s, XsdDateTimeFlags.AllXsd); 1787XsdDateTime xsdDateTime = new XsdDateTime(value, XsdDateTimeFlags.DateTime); 1793XsdDateTime xsdDateTime = new XsdDateTime(value);
System\Xml\Xsl\Runtime\XsltConvert.cs (2)
202return (new XsdDateTime(value, XsdDateTimeFlags.DateTime)).ToString(); 242return (DateTime)(new XsdDateTime(value, XsdDateTimeFlags.AllXsd));
15 references to XsdDateTime
System.Private.Xml (15)
System\Xml\Schema\DataTypeImplementation.cs (2)
2038XsdDateTime dateTime; 2039if (!XsdDateTime.TryParse(s, _dateTimeFlags, out dateTime))
System\Xml\Schema\XsdDateTime.cs (3)
153internal static bool TryParse(string text, XsdDateTimeFlags kinds, out XsdDateTime result) 382public static implicit operator DateTime(XsdDateTime xdt) 442public static implicit operator DateTimeOffset(XsdDateTime xdt)
System\Xml\XmlConvert.cs (6)
725XsdDateTime xsdDateTime = new XsdDateTime(value, XsdDateTimeFlags.DateTime); 731XsdDateTime xsdDateTime = new XsdDateTime(value); 1212XsdDateTime xsdDateTime = new XsdDateTime(s, XsdDateTimeFlags.AllXsd); 1242XsdDateTime xsdDateTime = new XsdDateTime(s, XsdDateTimeFlags.AllXsd); 1787XsdDateTime xsdDateTime = new XsdDateTime(value, XsdDateTimeFlags.DateTime); 1793XsdDateTime xsdDateTime = new XsdDateTime(value);
System\Xml\Xsl\Runtime\XsltFunctions.cs (4)
371XsdDateTime xdt; 372if (!XsdDateTime.TryParse(dateTime, XsdDateTimeFlags.AllXsd | XsdDateTimeFlags.XdrDateTime | XsdDateTimeFlags.XdrTimeNoTz, out xdt)) 428XsdDateTime xdt; 432if (!XsdDateTime.TryParse(dateTime, XsdDateTimeFlags.AllXsd | XsdDateTimeFlags.XdrDateTime | XsdDateTimeFlags.XdrTimeNoTz, out xdt))