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

format-date-epochclj

(format-date-epoch value)
source

format-date-stringclj

(format-date-string value)
source

format-instant-epochclj

(format-instant-epoch value)
source

format-instant-stringclj

(format-instant-string value)
source

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

parse-epoch-dateclj

(parse-epoch-date value)
source

parse-epoch-instantclj

(parse-epoch-instant value)
source

parse-string-dateclj

(parse-string-date value)
source

parse-string-instantclj

(parse-string-instant value)
source

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

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

× close