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