Liking cljdoc? Tell your friends :D

clj-cbor.tags.time

Built-in tag support for the time extensions in RFC 7049. See section 2.4.1.

This namespace offers interop with both the older java.util.Date class as well as the newer java.time.Instant. Support for both timestamp-based tagged values and the more efficient epoch-based values is included.

Built-in tag support for the time extensions in RFC 7049. See section
2.4.1.

This namespace offers interop with both the older `java.util.Date` class as
well as the newer `java.time.Instant`. Support for both timestamp-based
tagged values and the more efficient epoch-based values is included.
raw docstring

date-read-handlersclj

Map of tag handlers to parse date-times as java.util.Date values.

Map of tag handlers to parse date-times as `java.util.Date` values.
raw docstring

epoch-time-tagclj

Tag value 1 is for numerical representation of seconds relative to 1970-01-01T00:00Z in UTC time.

The tagged item can be a positive or negative integer (major types 0 and 1), or a floating-point number (major type 7 with additional information 25, 26, or 27). Note that the number can be negative (time before 1970-01-01T00:00Z) and, if a floating-point number, indicate fractional seconds.

Tag value 1 is for numerical representation of seconds relative to
1970-01-01T00:00Z in UTC time.

The tagged item can be a positive or negative integer (major types 0 and 1),
or a floating-point number (major type 7 with additional information 25, 26,
or 27). Note that the number can be negative (time before 1970-01-01T00:00Z)
and, if a floating-point number, indicate fractional seconds.
raw docstring

epoch-time-write-handlersclj

Map of date-time types to render as tag 1 epoch offsets.

Map of date-time types to render as tag 1 epoch offsets.
raw docstring

format-date-epochclj

(format-date-epoch value)

format-date-stringclj

(format-date-string value)

format-instant-epochclj

(format-instant-epoch value)

format-instant-stringclj

(format-instant-string value)

instant-read-handlersclj

Map of tag handlers to parse date-times as java.time.Instant values.

Map of tag handlers to parse date-times as `java.time.Instant` values.
raw docstring

parse-epoch-dateclj

(parse-epoch-date value)

parse-epoch-instantclj

(parse-epoch-instant value)

parse-string-dateclj

(parse-string-date value)

parse-string-instantclj

(parse-string-instant value)

string-time-tagclj

Tag value 0 is for date/time strings that follow the standard format described in RFC3339, as refined by Section 3.3 of RFC4287.

Tag value 0 is for date/time strings that follow the standard format
described in RFC3339, as refined by Section 3.3 of RFC4287.
raw docstring

string-time-write-handlersclj

Map of date-time types to render as tag 0 time strings.

Map of date-time types to render as tag 0 time strings.
raw docstring

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

× close