static Decoder<DateTime> dateTime = string.emap((str) => catching(() => DateTime.parse(str)) .leftMap((err) => DecodingError(err.toString())));