21 references to Utc
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (18)
XmlSerializerInputFormatterTest.cs (18)
42
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
69
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
79
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
106
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
116
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
142
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
152
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
178
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
191
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
222
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
336
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
358
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
368
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
393
XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
),
430
"<SampleDate>" + XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
)
451
"<SampleDate>" + XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
)
586
var expectedDateTime = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.
Utc
);
617
Assert.Equal(XmlConvert.ToDateTime(expectedDateTime, XmlDateTimeSerializationMode.
Utc
), model.SampleDate);
System.Private.Xml (3)
System\Xml\XmlConvert.cs (3)
710
case XmlDateTimeSerializationMode.
Utc
:
1221
case XmlDateTimeSerializationMode.
Utc
:
1772
case XmlDateTimeSerializationMode.
Utc
: