This is the cl-date-time-parser Reference Manual, version 0.1.3, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:49:45 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-date-time-parser
Parse date-time-string, and return (values universal-time fraction).
Parsable date-time-format: ISO8601, W3CDTF, RFC3339, RFC822, RFC2822, RFC5322, asctime, RFC850, RFC1036.
Takaya OCHIAI <tkych.repl@gmail.com>
MIT License
0.1.3
alexandria
(system).
split-sequence
(system).
anaphora
(system).
cl-ppcre
(system).
local-time
(system).
parse-float
(system).
date-time-parser.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-date-time-parser/cl-date-time-parser.asd
cl-date-time-parser
(system).
cl-date-time-parser/date-time-parser.lisp
cl-date-time-parser
(system).
parse-date-time
(function).
*day-of-week*
(special variable).
*features-tmp*
(special variable).
*month-ht-in-leap-year*
(special variable).
*month-ht-in-normal-year*
(special variable).
*month-vec-in-leap-year*
(special variable).
*month-vec-in-normal-year*
(special variable).
*tz-abbrev-to-offest*
(special variable).
+day-secs+
(constant).
+hour-secs+
(constant).
+minuite-secs+
(constant).
+second+
(constant).
calc-offset
(function).
get-offset
(function).
leap-year-p
(function).
month-to-ut
(function).
parse-iso8601-genus
(function).
parse-rfc822-genus
(function).
year-to-ut
(function).
Packages are listed by definition order.
cl-date-time-parser
date-time-parser
common-lisp
.
parse-date-time
(function).
*day-of-week*
(special variable).
*features-tmp*
(special variable).
*month-ht-in-leap-year*
(special variable).
*month-ht-in-normal-year*
(special variable).
*month-vec-in-leap-year*
(special variable).
*month-vec-in-normal-year*
(special variable).
*tz-abbrev-to-offest*
(special variable).
+day-secs+
(constant).
+hour-secs+
(constant).
+minuite-secs+
(constant).
+second+
(constant).
calc-offset
(function).
get-offset
(function).
leap-year-p
(function).
month-to-ut
(function).
parse-iso8601-genus
(function).
parse-rfc822-genus
(function).
year-to-ut
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Parse DATE-TIME-STRING, and return (values UNIVERSAL-TIME FRACTION).
DATE-TIME-STRING must represent the date-time after 1900-01-01T00:00:00Z.
Parsable Formats:
* RFC822 Genus: RFC822 (RFC1123, RFC2822, RFC5322), RFC850 (RFC1036) and asctime.
* ISO8601 Genus: ISO 8601 (:1988, :2000 and :2004. except for no-year format),
W3CDTF, RFC3339.
* Broken format: The above formats with little broken.
Examples:
* (parse-date-time "Thu, 23 Jul 2013 19:42:23 JST")
=> 3583564943, 0
* (parse-date-time "2013-07-23T19:42:23+09:00")
=> 3583564943, 0
* (parse-date-time "23 Jul 13 19:42:23 +0900")
=> 3583564943, 0
* (parse-date-time "Thu Jul 23 19:42:23 JST 2013")
=> 3583564943, 0
* (parse-date-time "2013-07-23T19:42:23.45Z")
=> 3583597343, 0.45
For more examples, see Eval-Test in date-time-parser.lisp
Return offset for the time-zone-abbrev. If not find offset, return NIL.
Return T if YEAR is a leap year, otherwise NIL. c.f. RFC3339, (Appendix C. Leap Years)
Parse DATE-TIME-STRING with ISO8601, W3CDTF or RFC3339 format,
and return (values UNIVERSAL-TIME FRACTION).
Reference:
* ISO8601:1988, 2000, 2004
– http://www.iso.org/iso/home/standards/iso8601.htm
* W3CDTF – http://www.w3.org/TR/1998/NOTE-datetime-19980827
* RFC3339 – http://tools.ietf.org/html/rfc3339
Parse DATE-TIME-STRING with RFC822 (RFC1123, RFC2822, RFC5322),
RFC850 (RFC1036) or asctime format, and return
(values UNIVERSAL-TIME FRACTION).
Reference:
* RFC822 – http://tools.ietf.org/html/rfc822
* RFC2822 – http://tools.ietf.org/html/rfc2822
* RFC5322 – http://tools.ietf.org/html/rfc5322
* RFC850 – http://tools.ietf.org/html/rfc850
* RFC1036 – http://tools.ietf.org/html/rfc1036
* asctime – http://en.cppreference.com/w/c/chrono/asctime
Jump to: | C F G L M P Y |
---|
Jump to: | C F G L M P Y |
---|
Jump to: | *
+
C S |
---|
Jump to: | *
+
C S |
---|
Jump to: | C D F P S |
---|
Jump to: | C D F P S |
---|