10 references to YearMonthDuration
System.Private.Xml (10)
System\Xml\Schema\DataTypeImplementation.cs (2)
1920
exception = XsdDuration.TryParse(s, XsdDuration.DurationType.
YearMonthDuration
, out duration);
1925
exception = duration.TryToTimeSpan(XsdDuration.DurationType.
YearMonthDuration
, out timeSpanValue);
System\Xml\Schema\XmlValueConverter.cs (4)
663
return new XsdDuration(value, XsdDuration.DurationType.
YearMonthDuration
).ToTimeSpan(XsdDuration.DurationType.
YearMonthDuration
);
787
return new XsdDuration(value, XsdDuration.DurationType.
YearMonthDuration
).ToString(XsdDuration.DurationType.
YearMonthDuration
);
System\Xml\Schema\XsdDuration.cs (4)
101
if (durationType == DurationType.
YearMonthDuration
)
281
if (durationType != DurationType.
YearMonthDuration
)
377
if (durationType != DurationType.
YearMonthDuration
)
620
else if (durationType == DurationType.
YearMonthDuration
)