mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-15 15:59:32 -06:00
34 lines
780 B
Plaintext
34 lines
780 B
Plaintext
concrete TimeDan of Time = NumeralsDan **
|
|
open Prelude, TypesDan, CategoriesDan, ParadigmsDan in {
|
|
|
|
lincat
|
|
Date = SS ;
|
|
Weekday = N ;
|
|
Hour = SS ;
|
|
Minute = SS ;
|
|
Time = SS ;
|
|
|
|
lin
|
|
DayDate day = ss (day.s ! singular ! Indef ! nominative) ;
|
|
DayTimeDate day time = ss (day.s ! singular ! Indef ! nominative ++ "klokken" ++ time.s) ;
|
|
|
|
FormalTime = infixSS "og" ;
|
|
PastTime h m = ss (m.s ++ "over" ++ h.s) ;
|
|
ToTime h m = ss (m.s ++ "på" ++ h.s) ;
|
|
ExactTime h = ss (h.s ++ "akkurat") ;
|
|
|
|
NumHour n = {s = n.s ! Neutr} ;
|
|
NumMinute n = {s = n.s ! Neutr} ;
|
|
|
|
monday = regN "mandag" utrum ;
|
|
tuesday = regN "tirsdag" utrum ;
|
|
wednesday = regN "onsdag" utrum ;
|
|
thursday = regN "torsdag" utrum ;
|
|
friday = regN "fredag" utrum ;
|
|
saturday = regN "lørdag" utrum ;
|
|
sunday = regN "søndag" utrum ;
|
|
|
|
|
|
|
|
} ;
|