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