40 instantiations of XsdDateTime
System.Xml (40)
System\Xml\Schema\XmlValueConverter.cs (34)
586
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.Date));
590
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.DateTime));
603
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.GDay));
607
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.GMonth));
611
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.GMonthDay));
615
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.GYear));
619
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.GYearMonth));
623
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.Date));
627
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.DateTime));
631
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.GDay));
635
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.GMonth));
639
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.GMonthDay));
643
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.GYear));
647
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.GYearMonth));
686
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.Time));
690
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.Time));
712
return (new
XsdDateTime
(value, XsdDateTimeFlags.Date)).ToString();
716
return (new
XsdDateTime
(value, XsdDateTimeFlags.DateTime)).ToString();
728
return (new
XsdDateTime
(value, XsdDateTimeFlags.GDay)).ToString();
732
return (new
XsdDateTime
(value, XsdDateTimeFlags.GMonth)).ToString();
736
return (new
XsdDateTime
(value, XsdDateTimeFlags.GMonthDay)).ToString();
740
return (new
XsdDateTime
(value, XsdDateTimeFlags.GYear)).ToString();
744
return (new
XsdDateTime
(value, XsdDateTimeFlags.GYearMonth)).ToString();
748
return (new
XsdDateTime
(value, XsdDateTimeFlags.Date)).ToString();
752
return (new
XsdDateTime
(value, XsdDateTimeFlags.DateTime)).ToString();
756
return (new
XsdDateTime
(value, XsdDateTimeFlags.GDay)).ToString();
760
return (new
XsdDateTime
(value, XsdDateTimeFlags.GMonth)).ToString();
764
return (new
XsdDateTime
(value, XsdDateTimeFlags.GMonthDay)).ToString();
768
return (new
XsdDateTime
(value, XsdDateTimeFlags.GYear)).ToString();
772
return (new
XsdDateTime
(value, XsdDateTimeFlags.GYearMonth)).ToString();
789
return (new
XsdDateTime
(value, XsdDateTimeFlags.Time)).ToString();
793
return (new
XsdDateTime
(value, XsdDateTimeFlags.Time)).ToString();
873
return (DateTime)(new
XsdDateTime
(value, XsdDateTimeFlags.AllXsd));
877
return (DateTimeOffset)(new
XsdDateTime
(value, XsdDateTimeFlags.AllXsd));
System\Xml\Schema\XsdDateTime.cs (2)
150
result = new
XsdDateTime
();
153
result = new
XsdDateTime
(parser);
System\Xml\XmlConvert.cs (4)
792
XsdDateTime xsdDateTime = new
XsdDateTime
(value, XsdDateTimeFlags.DateTime);
797
XsdDateTime xsdDateTime = new
XsdDateTime
(value);
1266
XsdDateTime xsdDateTime = new
XsdDateTime
(s, XsdDateTimeFlags.AllXsd);
1295
XsdDateTime xsdDateTime = new
XsdDateTime
(s, XsdDateTimeFlags.AllXsd);
12 references to XsdDateTime
System.Xml (12)
System\Xml\Schema\DataTypeImplementation.cs (2)
1860
XsdDateTime
dateTime;
1861
if (!
XsdDateTime
.TryParse(s, dateTimeFlags, out dateTime)) {
System\Xml\Schema\XsdDateTime.cs (6)
147
internal static bool TryParse(string text, XsdDateTimeFlags kinds, out
XsdDateTime
result) {
377
public static implicit operator DateTime(
XsdDateTime
xdt) {
433
public static implicit operator DateTimeOffset(
XsdDateTime
xdt) {
477
public static int Compare(
XsdDateTime
left,
XsdDateTime
right) {
501
return Compare(this, (
XsdDateTime
)value);
System\Xml\XmlConvert.cs (4)
792
XsdDateTime
xsdDateTime = new XsdDateTime(value, XsdDateTimeFlags.DateTime);
797
XsdDateTime
xsdDateTime = new XsdDateTime(value);
1266
XsdDateTime
xsdDateTime = new XsdDateTime(s, XsdDateTimeFlags.AllXsd);
1295
XsdDateTime
xsdDateTime = new XsdDateTime(s, XsdDateTimeFlags.AllXsd);