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