public static string ToString(DateTimeOffset value, DateFormatHandling format) { using (StringWriter writer = Class198.smethod_6(0x40)) { writer.Write('"'); Class184.smethod_21(writer, value, format, null, CultureInfo.InvariantCulture); writer.Write('"'); return(writer.ToString()); } }
public static string ToString(DateTime value, DateFormatHandling format, DateTimeZoneHandling timeZoneHandling) { DateTime time = Class184.smethod_2(value, timeZoneHandling); using (StringWriter writer = Class198.smethod_6(0x40)) { writer.Write('"'); Class184.smethod_16(writer, time, format, null, CultureInfo.InvariantCulture); writer.Write('"'); return(writer.ToString()); } }