Changeset 16011 in project


Ignore:
Timestamp:
09/21/09 10:38:57 (10 years ago)
Author:
Ivan Raikov
Message:

updated internet-timestamp documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/internet-timestamp

    r15986 r16011  
    1111RFC.
    1212
     13=== Timestamp record type
     14
     15  (define-record-type ts
     16    (make-ts date time offset) ;; constructor
     17    ts?  ;; predicate
     18    (date ts-date )  ;; accessors
     19    (time ts-time )
     20    (offset ts-offset )
     21  )
     22
     23The {{internet-timestamp}} library also defines a record printer for
     24the above record type, which prints timestamp entries in the format
     25specified by the RFC.
    1326
    1427=== Library Procedures
    1528
    16 * <procedure>(parser TEXT) => VALUE</procedure>
     29* <procedure>(parser TEXT) => TS</procedure>
    1730
    18 Parses an Internet timestamp text and returns an alist of the form:
     31Parses an Internet timestamp text and returns a record of type {{ts}}.
     32
     33* <procedure>(ts->list TS) => LIST</procedure>
     34
     35Returns an alist representation of a timestamp:
    1936
    2037  ((date (YEAR MONTH DAY)) (time (HOUR MINUTE SECOND FRAC)) (offset (OFFSET)))
Note: See TracChangeset for help on using the changeset viewer.