PR10614
svn: r17077
This commit is contained in:
parent
d3ff146643
commit
70794d4a51
|
@ -390,13 +390,13 @@
|
|||
|
||||
(define (time>=? time1 time2)
|
||||
(tm:time-compare-check time1 time2 'time>=?)
|
||||
(or (>= (time-second time1) (time-second time2))
|
||||
(or (> (time-second time1) (time-second time2))
|
||||
(and (= (time-second time1) (time-second time2))
|
||||
(>= (time-nanosecond time1) (time-nanosecond time2)))))
|
||||
|
||||
(define (time<=? time1 time2)
|
||||
(tm:time-compare-check time1 time2 'time<=?)
|
||||
(or (<= (time-second time1) (time-second time2))
|
||||
(or (< (time-second time1) (time-second time2))
|
||||
(and (= (time-second time1) (time-second time2))
|
||||
(<= (time-nanosecond time1) (time-nanosecond time2)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user