mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 01:51:31 +03:00
12c4f2981d
- Closes #7461 by introducing a `Date_Time_Formatter` type and making parsing date time formats more robust and safer. - The default ('simple') set of patterns is slightly simplified and made case insensitive (except for `M/m` and `H/h`) to avoid the `YYYY` vs `yyyy` issues and make it less error prone. - The `YYYY` now has the same meaning as `yyyy` in simple mode. The old meaning (week-based year) is moved to a _separate mode_, triggered by `Date_Time_Formatter.from_iso_week_date_pattern`. - Full Java syntax, as well as custom-built Java `DateTimeFormatter` can also be used by `Date_Time_Formatter.from_java`. - Text-based constants (e.g. `ISO_ZONED_DATE_TIME`) have now become methods on `Date_Time_Formatter`, e.g. `Date_Time_Formatter.iso_zoned_date_time`). |
||
---|---|---|
.. | ||
aws/src/main/java/org/enso/aws | ||
base/src/main/java/org/enso/base | ||
benchmarks/src/bench/java/org/enso/benchmarks/libs | ||
database/src/main/java/org/enso/database | ||
google-api | ||
image/src/main/java/org/enso/image | ||
table/src/main |