-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.lisp
64 lines (56 loc) · 1.16 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;;;; package.lisp
(defpackage #:ginkgo-time
(:nicknames #:ginkgo)
(:use #:cl)
(:export
;; const.lisp
+hours-per-day+
+minutes-per-hour+
+minutes-per-day+
+seconds-per-minute+
+seconds-per-hour+
+seconds-per-day+
+millis-per-second+
+millis-per-day+
+micros-per-second+
+micros-per-day+
+nanos-per-micro+
+nanos-per-milli+
+nanos-per-second+
+nanos-per-minute+
+nanos-per-hour+
+nanos-per-day+
;; generic.lisp
#:plus
#:to-string
;; chrono-unit.lisp
#:chrono-unit-time-based-p
#:chrono-unit-date-based-p
;; duration.lisp
#:*zero-duration*
#:duration-of-days
#:duration-of-hours
#:duration-of-minutes
#:duration-of-seconds
#:duration-of-millis
#:duration-of-micros
#:duration-of-nanos
#:duration=
#:chrono-unit-duration
;; clock.lisp
#:*clock-now*
#:*clock-now-function*
#:clock-now
;; instant.lisp
#:*epoch-instant*
#:instant=
#:instant-now
#:instant-of-epoch-second
#:instant-of-epoch-milli
#:instant-of-v8-uuid
#:instant-to-epoch-second
#:instant-to-epoch-milli
#:instant-to-v8-uuid
;; Misc. accessors
seconds
nanos))