summaryrefslogtreecommitdiff
path: root/lib/ur/datetime.urs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ur/datetime.urs')
-rw-r--r--lib/ur/datetime.urs5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ur/datetime.urs b/lib/ur/datetime.urs
index 9d99b9e3..0d8e8c28 100644
--- a/lib/ur/datetime.urs
+++ b/lib/ur/datetime.urs
@@ -6,6 +6,11 @@ type datetime = { Year : int,
Second : int
}
+datatype day_of_week = Sunday | Monday | Tuesday | Wednesday | Thursday |
+ Friday | Saturday
+
+val show : show day_of_week
+
val toTime : datetime -> time
val fromTime : time -> datetime
val datetimef : string -> datetime -> string