]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/time/time.factor
calendar: change >gmt, >local-time to clone.
[factor.git] / basis / windows / time / time.factor
index f0e31824499b49c3f6dea7e8927b2da52b29821f..dea0e7de4001e7d32b27afc3f2fe2cc3988cd1a1 100644 (file)
@@ -1,8 +1,8 @@
 ! Copyright (C) 2007 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types kernel math windows.errors
-windows.kernel32 windows.types namespaces calendar math.bitwise
-accessors classes.struct windows.handles ;
+USING: accessors alien alien.c-types calendar calendar.private
+classes.struct kernel math math.bitwise namespaces
+windows.errors windows.handles windows.kernel32 windows.types ;
 IN: windows.time
 
 : >64bit ( lo hi -- n )
@@ -21,7 +21,7 @@ IN: windows.time
     FILETIME>windows-time ;
 
 : timestamp>windows-time ( timestamp -- n )
-    #! 64bit number representing # of nanoseconds since Jan 1, 1601 (UTC)
+    ! 64bit number representing # of nanoseconds since Jan 1, 1601 (UTC)
     >gmt windows-1601 (time-) 10,000,000 * >integer ;
 
 : windows-time>FILETIME ( n -- FILETIME )