Liking cljdoc? Tell your friends :D

java-time.properties


*fields*clj

source

*units*clj

source

chrono-fieldsclj

source

chrono-unitsclj

source

fieldclj

(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`.
sourceraw docstring

field-groupsclj

source

field-keyclj

(field-key o)
source

field?clj

(field? o)

True if this is a TemporalField.

True if this is a `TemporalField`.
sourceraw docstring

get-fieldclj

(get-field o)
source

get-unitclj

(get-unit o)
source

get-unit-checkedclj

(get-unit-checked o)
source

iso-fieldsclj

source

iso-unitsclj

source

julian-fieldsclj

source

predefined-fieldsclj

source

predefined-unitsclj

source

unitclj

(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`.
sourceraw docstring

unit-groupsclj

source

unit-keyclj

(unit-key o)
source

unit?clj

(unit? o)

True if this is a TemporalUnit.

True if this is a `TemporalUnit`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close