public static string ToIsoWithUnspecifiedLocation(this DateTime value) => SpotifyDateTimeConversionUtils.ToIsoWithUnspecifiedLocation(value);
        /// <inheritdoc />
        public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
        {
            var ms = SpotifyDateTimeConversionUtils.ToTimestampMilliseconds(value);

            writer.WriteNumberValue(ms);
        }
 public static long ToTimestampMilliseconds(this DateTime value) => SpotifyDateTimeConversionUtils.ToTimestampMilliseconds(value);
        /// <inheritdoc />
        public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
        {
            var ms = reader.GetInt64();

            return(SpotifyDateTimeConversionUtils.FromTimestampMilliseconds(ms));
        }