Replacement for metabase.util.date
that consistently uses java.time
instead of a mix of java.util.Date
,
java.sql.*
, and Joda-Time.
Replacement for `metabase.util.date` that consistently uses `java.time` instead of a mix of `java.util.Date`, `java.sql.*`, and Joda-Time.
Utility functions for programmatically building a DateTimeFormatter
. Easier to understand than chaining a hundred
Java calls and trying to keep the structure straight.
The basic idea here is you pass a number of sections
to formatter
to build a DateTimeFormatter
— see
second-date.parse
for examples. Most of these sections are simple wrappers around corresponding
DateTimeFormatterBuilder
-- see
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatterBuilder.html for documentation.
Utility functions for programmatically building a `DateTimeFormatter`. Easier to understand than chaining a hundred Java calls and trying to keep the structure straight. The basic idea here is you pass a number of `sections` to `formatter` to build a `DateTimeFormatter` — see `second-date.parse` for examples. Most of these sections are simple wrappers around corresponding `DateTimeFormatterBuilder` -- see https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatterBuilder.html for documentation.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close