79 references to XsdDateTimeFlags
dotnet-svcutil-lib (79)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (14)
2025
private
XsdDateTimeFlags
_dateTimeFlags;
2040
internal Datatype_dateTimeBase(
XsdDateTimeFlags
dateTimeFlags)
2117
internal Datatype_dateTimeNoTimeZone() : base(
XsdDateTimeFlags
.XdrDateTimeNoTz) { }
2122
internal Datatype_dateTimeTimeZone() : base(
XsdDateTimeFlags
.XdrDateTime) { }
2153
internal Datatype_dateTime() : base(
XsdDateTimeFlags
.DateTime) { }
2158
internal Datatype_timeNoTimeZone() : base(
XsdDateTimeFlags
.XdrTimeNoTz) { }
2163
internal Datatype_timeTimeZone() : base(
XsdDateTimeFlags
.Time) { }
2196
internal Datatype_time() : base(
XsdDateTimeFlags
.Time) { }
2229
internal Datatype_date() : base(
XsdDateTimeFlags
.Date) { }
2262
internal Datatype_yearMonth() : base(
XsdDateTimeFlags
.GYearMonth) { }
2296
internal Datatype_year() : base(
XsdDateTimeFlags
.GYear) { }
2329
internal Datatype_monthDay() : base(
XsdDateTimeFlags
.GMonthDay) { }
2362
internal Datatype_day() : base(
XsdDateTimeFlags
.GDay) { }
2396
internal Datatype_month() : base(
XsdDateTimeFlags
.GMonth) { }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (34)
615
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.Date));
620
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.DateTime));
636
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.GDay));
641
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.GMonth));
646
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.GMonthDay));
651
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.GYear));
656
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.GYearMonth));
661
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.Date));
666
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.DateTime));
671
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.GDay));
676
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.GMonth));
681
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.GMonthDay));
686
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.GYear));
691
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.GYearMonth));
737
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.Time));
742
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.Time));
768
return (new XsdDateTime(value,
XsdDateTimeFlags
.Date)).ToString();
773
return (new XsdDateTime(value,
XsdDateTimeFlags
.DateTime)).ToString();
788
return (new XsdDateTime(value,
XsdDateTimeFlags
.GDay)).ToString();
793
return (new XsdDateTime(value,
XsdDateTimeFlags
.GMonth)).ToString();
798
return (new XsdDateTime(value,
XsdDateTimeFlags
.GMonthDay)).ToString();
803
return (new XsdDateTime(value,
XsdDateTimeFlags
.GYear)).ToString();
808
return (new XsdDateTime(value,
XsdDateTimeFlags
.GYearMonth)).ToString();
813
return (new XsdDateTime(value,
XsdDateTimeFlags
.Date)).ToString();
818
return (new XsdDateTime(value,
XsdDateTimeFlags
.DateTime)).ToString();
823
return (new XsdDateTime(value,
XsdDateTimeFlags
.GDay)).ToString();
828
return (new XsdDateTime(value,
XsdDateTimeFlags
.GMonth)).ToString();
833
return (new XsdDateTime(value,
XsdDateTimeFlags
.GMonthDay)).ToString();
838
return (new XsdDateTime(value,
XsdDateTimeFlags
.GYear)).ToString();
843
return (new XsdDateTime(value,
XsdDateTimeFlags
.GYearMonth)).ToString();
862
return (new XsdDateTime(value,
XsdDateTimeFlags
.Time)).ToString();
867
return (new XsdDateTime(value,
XsdDateTimeFlags
.Time)).ToString();
959
return (DateTime)(new XsdDateTime(value,
XsdDateTimeFlags
.AllXsd));
964
return (DateTimeOffset)(new XsdDateTime(value,
XsdDateTimeFlags
.AllXsd));
FrameworkFork\Microsoft.Xml\Xml\schema\XsdDateTime.cs (28)
114
public XsdDateTime(string text) : this(text,
XsdDateTimeFlags
.AllXsd)
121
public XsdDateTime(string text,
XsdDateTimeFlags
kinds) : this()
146
internal static bool TryParse(string text,
XsdDateTimeFlags
kinds, out XsdDateTime result)
161
public XsdDateTime(DateTime dateTime,
XsdDateTimeFlags
kinds)
201
public XsdDateTime(DateTimeOffset dateTimeOffset) : this(dateTimeOffset,
XsdDateTimeFlags
.DateTime)
205
public XsdDateTime(DateTimeOffset dateTimeOffset,
XsdDateTimeFlags
kinds)
739
public bool Parse(string text,
XsdDateTimeFlags
kinds)
752
if (Test(kinds,
XsdDateTimeFlags
.DateTime |
XsdDateTimeFlags
.Date |
XsdDateTimeFlags
.XdrDateTime |
XsdDateTimeFlags
.XdrDateTimeNoTz))
756
if (Test(kinds,
XsdDateTimeFlags
.DateTime))
764
if (Test(kinds,
XsdDateTimeFlags
.Date))
772
if (Test(kinds,
XsdDateTimeFlags
.XdrDateTime))
780
if (Test(kinds,
XsdDateTimeFlags
.XdrDateTimeNoTz))
799
if (Test(kinds,
XsdDateTimeFlags
.Time))
811
if (Test(kinds,
XsdDateTimeFlags
.XdrTimeNoTz))
823
if (Test(kinds,
XsdDateTimeFlags
.GYearMonth |
XsdDateTimeFlags
.GYear))
827
if (Test(kinds,
XsdDateTimeFlags
.GYearMonth))
840
if (Test(kinds,
XsdDateTimeFlags
.GYear))
852
if (Test(kinds,
XsdDateTimeFlags
.GMonthDay |
XsdDateTimeFlags
.GMonth))
860
if (Test(kinds,
XsdDateTimeFlags
.GMonthDay) && ParseChar(start + s_lz__mm, '-'))
872
if (Test(kinds,
XsdDateTimeFlags
.GMonth))
884
if (Test(kinds,
XsdDateTimeFlags
.GDay))
1093
private static bool Test(
XsdDateTimeFlags
left,
XsdDateTimeFlags
right)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (3)
869
XsdDateTime xsdDateTime = new XsdDateTime(value,
XsdDateTimeFlags
.DateTime);
1400
XsdDateTime xsdDateTime = new XsdDateTime(s,
XsdDateTimeFlags
.AllXsd);
1432
XsdDateTime xsdDateTime = new XsdDateTime(s,
XsdDateTimeFlags
.AllXsd);