10 references to YearMonthDuration
System.Xml (10)
System\Xml\Schema\DataTypeImplementation.cs (2)
1745
exception = XsdDuration.TryParse(s, XsdDuration.DurationType.
YearMonthDuration
, out duration);
1750
exception = duration.TryToTimeSpan(XsdDuration.DurationType.
YearMonthDuration
, out timeSpanValue);
System\Xml\Schema\XmlValueConverter.cs (4)
695
return new XsdDuration(value, XsdDuration.DurationType.
YearMonthDuration
).ToTimeSpan(XsdDuration.DurationType.
YearMonthDuration
);
797
return new XsdDuration(value, XsdDuration.DurationType.
YearMonthDuration
).ToString(XsdDuration.DurationType.
YearMonthDuration
);
System\Xml\Schema\XsdDuration.cs (4)
96
if (durationType == DurationType.
YearMonthDuration
) {
309
if (durationType != DurationType.
YearMonthDuration
) {
385
if (durationType != DurationType.
YearMonthDuration
) {
604
else if (durationType == DurationType.
YearMonthDuration
) {