(field k)
(field entity k)
Returns a TemporalField
for the given key k
or extracts the field from
the given temporal entity
.
You can see predefined fields via java-time.repl/show-fields
.
If you want to make your own custom TemporalFields resolvable, you need to rebind the
java-time.properties/*fields*
to a custom java-time.properties.FieldGroup
.
Returns a `TemporalField` for the given key `k` or extracts the field from the given temporal `entity`. You can see predefined fields via `java-time.repl/show-fields`. If you want to make your own custom TemporalFields resolvable, you need to rebind the `java-time.properties/*fields*` to a custom `java-time.properties.FieldGroup`.
(field? o)
True if this is a TemporalField
.
True if this is a `TemporalField`.
(unit k)
(unit entity k)
Returns a TemporalUnit
for the given key k
or extracts the field from
the given temporal entity
.
You can see predefined units via java-time.repl/show-units
.
If you want to make your own custom TemporalUnits resolvable, you need to rebind the
java-time.properties/*units*
to a custom java-time.properties.UnitGroup
.
Returns a `TemporalUnit` for the given key `k` or extracts the field from the given temporal `entity`. You can see predefined units via `java-time.repl/show-units`. If you want to make your own custom TemporalUnits resolvable, you need to rebind the `java-time.properties/*units*` to a custom `java-time.properties.UnitGroup`.
(unit? o)
True if this is a TemporalUnit
.
True if this is a `TemporalUnit`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close