#| -*-Scheme-*-
-$Id: os2prm.scm,v 1.24 1995/10/31 08:05:02 cph Exp $
+$Id: os2prm.scm,v 1.25 1996/04/24 03:21:30 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
access-time
modification-time))
\f
-(define (file-time->string time)
- ;; The returned string is in the format specified by RFC 822,
- ;; "Standard for the Format of ARPA Internet Text Messages".
- (let ((dt (decode-file-time time))
- (d2 (lambda (n) (string-pad-left (number->string n) 2 #\0))))
- (string-append (day-of-week/short-string (decoded-time/day-of-week dt))
- ", "
- (number->string (decoded-time/day dt))
- " "
- (month/short-string (decoded-time/month dt))
- " "
- (number->string (decoded-time/year dt))
- " "
- (d2 (decoded-time/hour dt))
- ":"
- (d2 (decoded-time/minute dt))
- ":"
- (d2 (decoded-time/second dt))
- " "
- (time-zone->string
- (let ((tz (local-time-zone)))
- (if (decoded-time/daylight-savings-time? dt)
- (- tz 1)
- tz))))))
-
(define (local-time-zone)
(/ ((ucode-primitive os2-time-zone 0)) 3600))
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.266 1996/04/05 22:46:49 cph Exp $
+$Id: runtime.pkg,v 14.267 1996/04/24 03:21:08 cph Exp $
Copyright (c) 1988-96 Massachusetts Institute of Technology
day-of-week/long-string
day-of-week/short-string
decode-universal-time
+ decoded-time->string
decoded-time/date-string
decoded-time/day
decoded-time/day-of-week
decoded-time/second
decoded-time/time-string
decoded-time/year
+ decoded-time/zone
encode-universal-time
+ file-time->string
get-decoded-time
get-universal-time
make-decoded-time
month/max-days
month/short-string
time-zone->string
- time-zone?))
+ time-zone?
+ universal-time->string))
(define-package (runtime debugger)
(files "debug")
imag-part
inexact->exact
inexact?
- int:->flonum
integer-ceiling
integer-divide
integer-divide-quotient
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.267 1995/11/13 07:22:06 cph Exp $
+$Id: runtime.pkg,v 14.268 1996/04/24 03:21:18 cph Exp $
-Copyright (c) 1988-95 Massachusetts Institute of Technology
+Copyright (c) 1988-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
day-of-week/long-string
day-of-week/short-string
decode-universal-time
+ decoded-time->string
decoded-time/date-string
decoded-time/day
decoded-time/day-of-week
decoded-time/second
decoded-time/time-string
decoded-time/year
+ decoded-time/zone
encode-universal-time
+ file-time->string
get-decoded-time
get-universal-time
make-decoded-time
month/max-days
month/short-string
time-zone->string
- time-zone?))
+ time-zone?
+ universal-time->string))
(define-package (runtime debugger)
(files "debug")
imag-part
inexact->exact
inexact?
- int:->flonum
integer-ceiling
integer-divide
integer-divide-quotient