Commit 61a6fc86 authored by Diederik van Arkel's avatar Diederik van Arkel

Use StdLib for DateTime type

parent cb716aef
......@@ -11,7 +11,8 @@ definition module StdTime
from StdOverloaded import class <
from ostick import :: Tick
from StdLibMisc import :: Time(..), :: Date(..)
/*
:: Time
= { hours :: !Int // hours (0-23)
, minutes :: !Int // minutes (0-59)
......@@ -23,6 +24,7 @@ from ostick import :: Tick
, day :: !Int // day (1-31)
, dayNr :: !Int // day of week (1-7, Sunday=1, Saturday=7)
}
*/
wait :: !Int .x -> .x
......
......@@ -2,7 +2,9 @@ implementation module StdTime
import StdBool, StdClass, StdFunc, StdInt, StdReal
import ostime, ossystem, /*MW11++*/ ostick
from StdLibMisc import :: Time(..), :: Date(..)
/*
:: Time
= { hours :: !Int // hours (0-23)
, minutes :: !Int // minutes (0-59)
......@@ -14,7 +16,7 @@ import ostime, ossystem, /*MW11++*/ ostick
, day :: !Int // day (1-31)
, dayNr :: !Int // day of week (1-7, Sunday=1, Saturday=7)
}
*/
// Suspend evaluation of the second argument modally for a number of ticks (see StdSystem).
wait :: !Int .x -> .x
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment