module std/time/calendarsstd/time/calendars
import std/time/instantstd/time/instant
import std/time/utcstd/time/utc
import std/time/datestd/time/date
import std/time/calendarstd/time/calendar
pub val cal-copticstd/time/calendars/cal-coptic: calendar = solar-ecalendarstd/time/calendar/solar-ecalendar: (name : string, long-name : string, days-before-year : (year : int) -> int, estimate-year : (days : int) -> (int, maybe<int>), days-before-month : (year : int, month : int) -> int, days-to-month : (year : int, doy : int) -> int, epoch-shift : ? int, has-year-zero : ? bool, month-prefix : ? string, show-era : ? ((date) -> string)) -> calendar(
"CC"literal: string
count= 2, "Coptic"literal: string
count= 6,
coptic-days-before-yearstd/time/calendars/coptic-days-before-year: (year : int) -> int, coptic-estimate-yearstd/time/calendars/coptic-estimate-year: (days : int) -> (int, maybe<int>), coptic-days-before-monthstd/time/calendars/coptic-days-before-month: (year : int, month : int) -> int, coptic-doy-to-monthstd/time/calendars/coptic-doy-to-month: (year : int, doy : int) -> int,
epoch-shift = 626515literal: int
dec = 626515
hex32= 0x00098F53
bit32= 0b00000000000010011000111101010011, show-era = fnfn: (d : date) -> string(dd: date:datestd/time/date/date: V){ if dd: date.yearstd/time/date/date/year: (date : date) -> int.is-posstd/core/int/is-pos: (i : int) -> bool then "A.M."literal: string
count= 4 else ""literal: string
count= 0 } )
fun coptic-days-before-monthstd/time/calendars/coptic-days-before-month: (year : int, month : int) -> int( yearyear: int : intstd/core/types/int: V, monthmonth: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
30literal: int
dec = 30
hex8 = 0x1E
bit8 = 0b00011110*std/core/int/(*): (int, int) -> int(monthmonth: int -std/core/int/(-): (x : int, y : int) -> int 1literal: int
dec = 1
hex8 = 0x01
bit8 = 0b00000001)
fun coptic-doy-to-monthstd/time/calendars/coptic-doy-to-month: (year : int, doy : int) -> int( yearyear: int : intstd/core/types/int: V, doydoy: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
doydoy: int/std/core/int/(/): (x : int, y : int) -> int30literal: int
dec = 30
hex8 = 0x1E
bit8 = 0b00011110 +std/core/int/(+): (x : int, y : int) -> int 1literal: int
dec = 1
hex8 = 0x01
bit8 = 0b00000001
fun coptic-days-before-yearstd/time/calendars/coptic-days-before-year: (year : int) -> int( yearyear: int : intstd/core/types/int: V )result: -> total int
365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101*std/core/int/(*): (int, int) -> intyearyear: int.decstd/core/int/dec: (i : int) -> int +std/core/int/(+): (x : int, y : int) -> int yearyear: int/std/core/int/(/): (x : int, y : int) -> int4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100
fun coptic-estimate-yearstd/time/calendars/coptic-estimate-year: (days : int) -> (int, maybe<int>)( daysdays: int : intstd/core/types/int: V )result: -> total (int, maybe<int>) : (std/core/types/tuple2: (V, V) -> Vintstd/core/types/int: V,maybestd/core/types/maybe: V -> V<intstd/core/types/int: V>)
val (std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)eraera: int,doedoe: int)std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b) = divmodstd/core/int/divmod: (x : int, y : int) -> (int, int)(daysdays: int +std/core/int/(+): (x : int, y : int) -> int 365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101, 1461literal: int
dec = 1461
hex16= 0x05B5
bit16= 0b0000010110110101)
(std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100*std/core/int/(*): (int, int) -> interaera: int +std/core/int/(+): (x : int, y : int) -> int doedoe: int/std/core/int/(/): (x : int, y : int) -> int366literal: int
dec = 366
hex16= 0x016E
bit16= 0b0000000101101110, Juststd/core/types/Just: forall<a> (value : a) -> maybe<a>(364literal: int
dec = 364
hex16= 0x016C
bit16= 0b0000000101101100))std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)
fun coptic-days-to-yeardoystd/time/calendars/coptic-days-to-yeardoy: (days : int) -> (int, int)( daysdays: int : intstd/core/types/int: V )result: -> total (int, int) : (std/core/types/tuple2: (V, V) -> Vintstd/core/types/int: V,intstd/core/types/int: V)
val (std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)eraera: int,doedoe: int)std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b) = divmodstd/core/int/divmod: (x : int, y : int) -> (int, int)(daysdays: int +std/core/int/(+): (x : int, y : int) -> int 365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101, 1461literal: int
dec = 1461
hex16= 0x05B5
bit16= 0b0000010110110101)
val yoeyoe: int = minstd/core/int/min: (i : int, j : int) -> int( doedoe: int/std/core/int/(/): (x : int, y : int) -> int365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101, 3literal: int
dec = 3
hex8 = 0x03
bit8 = 0b00000011)
(std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100*std/core/int/(*): (int, int) -> interaera: int +std/core/int/(+): (x : int, y : int) -> int yoeyoe: int, doedoe: int -std/core/int/(-): (x : int, y : int) -> int 365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101*std/core/int/(*): (int, int) -> intyoeyoe: int)std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)
pub val cal-ethiopianstd/time/calendars/cal-ethiopian: calendar = year-shift-earth-calendarstd/time/calendar/year-shift-earth-calendar: (name : string, long-name : string, year-shift : int, cal : calendar, month-prefix : ? string, show-era : ? ((date) -> string)) -> calendar( "EC"literal: string
count= 2, "Ethiopian"literal: string
count= 9, ~std/core/int/(~): (i : int) -> int276literal: int
dec = 276
hex16= 0x0114
bit16= 0b0000000100010100, cal-copticstd/time/calendars/cal-coptic: calendar )
pub val cal-iso-weekstd/time/calendars/cal-iso-week: calendar = solar-ecalendarstd/time/calendar/solar-ecalendar: (name : string, long-name : string, days-before-year : (year : int) -> int, estimate-year : (days : int) -> (int, maybe<int>), days-before-month : (year : int, month : int) -> int, days-to-month : (year : int, doy : int) -> int, epoch-shift : ? int, has-year-zero : ? bool, month-prefix : ? string, show-era : ? ((date) -> string)) -> calendar(
"IW"literal: string
count= 2, "ISO Week"literal: string
count= 8,
isow-days-before-yearstd/time/calendars/isow-days-before-year: (year : int) -> int, isow-estimate-yearstd/time/calendars/isow-estimate-year: (days : int) -> (int, maybe<int>),
isow-days-before-monthstd/time/calendars/isow-days-before-month: (year : int, month : int) -> int, isow-doy-to-monthstd/time/calendars/isow-doy-to-month: (year : int, doy : int) -> int,
month-prefix = "W"literal: string
count= 1
)
fun isow-days-before-monthstd/time/calendars/isow-days-before-month: (year : int, month : int) -> int( yearyear: int : intstd/core/types/int: V, monthmonth: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
7literal: int
dec = 7
hex8 = 0x07
bit8 = 0b00000111*std/core/int/(*): (int, int) -> int(monthmonth: int -std/core/int/(-): (x : int, y : int) -> int 1literal: int
dec = 1
hex8 = 0x01
bit8 = 0b00000001)
fun isow-doy-to-monthstd/time/calendars/isow-doy-to-month: (year : int, doy : int) -> int( yearyear: int : intstd/core/types/int: V, doydoy: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
doydoy: int/std/core/int/(/): (x : int, y : int) -> int7literal: int
dec = 7
hex8 = 0x07
bit8 = 0b00000111 +std/core/int/(+): (x : int, y : int) -> int 1literal: int
dec = 1
hex8 = 0x01
bit8 = 0b00000001
fun isow-days-before-yearstd/time/calendars/isow-days-before-year: (year : int) -> int( yearyear: int : intstd/core/types/int: V )result: -> total int
val gdaysgdays: int = iso-days-before-yearstd/time/calendars/iso-days-before-year: (year : int) -> int(yearyear: int)
val weekdayweekday: int = gdaysgdays: int%std/core/int/(%): (int, int) -> int7literal: int
dec = 7
hex8 = 0x07
bit8 = 0b00000111 val adjustadjust: int = if weekdayweekday: int <=std/core/int/(<=): (x : int, y : int) -> bool 3literal: int
dec = 3
hex8 = 0x03
bit8 = 0b00000011 then (0literal: int
dec = 0
hex8 = 0x00
bit8 = 0b00000000 -std/core/int/(-): (x : int, y : int) -> int weekdayweekday: int) else (7literal: int
dec = 7
hex8 = 0x07
bit8 = 0b00000111 -std/core/int/(-): (x : int, y : int) -> int weekdayweekday: int)
gdaysgdays: int +std/core/int/(+): (x : int, y : int) -> int adjustadjust: int
fun isow-estimate-yearstd/time/calendars/isow-estimate-year: (days : int) -> (int, maybe<int>)( daysdays: int : intstd/core/types/int: V )result: -> total (int, maybe<int>) : (std/core/types/tuple2: (V, V) -> Vintstd/core/types/int: V,maybestd/core/types/maybe: V -> V<intstd/core/types/int: V>)
iso-estimate-yearstd/time/calendars/iso-estimate-year: (days : int) -> (int, maybe<int>)( daysdays: int -std/core/int/(-): (x : int, y : int) -> int 3literal: int
dec = 3
hex8 = 0x03
bit8 = 0b00000011 )
fun iso-days-before-yearstd/time/calendars/iso-days-before-year: (year : int) -> int( yearyear: int : intstd/core/types/int: V )result: -> total int
val yy: int = yearyear: int.decstd/core/int/dec: (i : int) -> int
val leapdaysleapdays: int = (yy: int/std/core/int/(/): (x : int, y : int) -> int4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100 -std/core/int/(-): (x : int, y : int) -> int yy: int/std/core/int/(/): (x : int, y : int) -> int100literal: int
dec = 100
hex8 = 0x64
bit8 = 0b01100100) +std/core/int/(+): (x : int, y : int) -> int yy: int/std/core/int/(/): (x : int, y : int) -> int400literal: int
dec = 400
hex16= 0x0190
bit16= 0b0000000110010000
365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101*std/core/int/(*): (int, int) -> intyy: int +std/core/int/(+): (x : int, y : int) -> int leapdaysleapdays: int
fun iso-estimate-yearstd/time/calendars/iso-estimate-year: (days : int) -> (int, maybe<int>)( daysdays: int : intstd/core/types/int: V )result: -> total (int, maybe<int>) : (std/core/types/tuple2: (V, V) -> Vintstd/core/types/int: V,maybestd/core/types/maybe: V -> V<intstd/core/types/int: V>)
val (std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)eraera: int,yoeyoe: int)std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b) = divmodstd/core/int/divmod: (x : int, y : int) -> (int, int)(daysdays: int,146097literal: int
dec = 146097
hex32= 0x00023AB1
bit32= 0b00000000000000100011101010110001)
(std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)1literal: int
dec = 1
hex8 = 0x01
bit8 = 0b00000001 +std/core/int/(+): (x : int, y : int) -> int 400literal: int
dec = 400
hex16= 0x0190
bit16= 0b0000000110010000*std/core/int/(*): (int, int) -> interaera: int +std/core/int/(+): (x : int, y : int) -> int (100literal: int
dec = 100
hex8 = 0x64
bit8 = 0b01100100*std/core/int/(*): (int, int) -> intyoeyoe: int)/std/core/int/(/): (x : int, y : int) -> int36525literal: int
dec = 36525
hex32= 0x00008EAD
bit32= 0b00000000000000001000111010101101, Juststd/core/types/Just: forall<a> (value : a) -> maybe<a>(363literal: int
dec = 363
hex16= 0x016B
bit16= 0b0000000101101011))std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)
pub val cal-iso-monthstd/time/calendars/cal-iso-month: calendar = solar-ecalendarstd/time/calendar/solar-ecalendar: (name : string, long-name : string, days-before-year : (year : int) -> int, estimate-year : (days : int) -> (int, maybe<int>), days-before-month : (year : int, month : int) -> int, days-to-month : (year : int, doy : int) -> int, epoch-shift : ? int, has-year-zero : ? bool, month-prefix : ? string, show-era : ? ((date) -> string)) -> calendar(
"IM"literal: string
count= 2, "ISO Month"literal: string
count= 9,
isow-days-before-yearstd/time/calendars/isow-days-before-year: (year : int) -> int, isow-estimate-yearstd/time/calendars/isow-estimate-year: (days : int) -> (int, maybe<int>),
isom-days-before-monthstd/time/calendars/isom-days-before-month: (year : int, month : int) -> int, isom-doy-to-monthstd/time/calendars/isom-doy-to-month: (year : int, doy : int) -> int,
month-prefix = "M"literal: string
count= 1
)
fun isom-days-before-monthstd/time/calendars/isom-days-before-month: (year : int, month : int) -> int( yearyear: int : intstd/core/types/int: V, monthmonth: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
30literal: int
dec = 30
hex8 = 0x1E
bit8 = 0b00011110*std/core/int/(*): (int, int) -> intmonthmonth: int.decstd/core/int/dec: (i : int) -> int +std/core/int/(+): (x : int, y : int) -> int monthmonth: int.decstd/core/int/dec: (i : int) -> int/std/core/int/(/): (x : int, y : int) -> int3literal: int
dec = 3
hex8 = 0x03
bit8 = 0b00000011
fun isom-doy-to-monthstd/time/calendars/isom-doy-to-month: (year : int, doy : int) -> int( yearyear: int : intstd/core/types/int: V, doydoy: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
val mm: int = (100literal: int
dec = 100
hex8 = 0x64
bit8 = 0b01100100*std/core/int/(*): (int, int) -> intdoydoy: int.incstd/core/int/inc: (i : int) -> int)/std/core/int/(/): (x : int, y : int) -> int3034literal: int
dec = 3034
hex16= 0x0BDA
bit16= 0b0000101111011010
minstd/core/int/min: (i : int, j : int) -> int(mm: int.incstd/core/int/inc: (i : int) -> int,12literal: int
dec = 12
hex8 = 0x0C
bit8 = 0b00001100)
pub val cal-julianstd/time/calendars/cal-julian: calendar = solar-ecalendarstd/time/calendar/solar-ecalendar: (name : string, long-name : string, days-before-year : (year : int) -> int, estimate-year : (days : int) -> (int, maybe<int>), days-before-month : (year : int, month : int) -> int, days-to-month : (year : int, doy : int) -> int, epoch-shift : ? int, has-year-zero : ? bool, month-prefix : ? string, show-era : ? ((date) -> string)) -> calendar(
"JC"literal: string
count= 2, "Julian"literal: string
count= 6,
julian-days-before-yearstd/time/calendars/julian-days-before-year: (year : int) -> int, julian-estimate-yearstd/time/calendars/julian-estimate-year: (days : int) -> (int, maybe<int>),
julian-days-before-monthstd/time/calendars/julian-days-before-month: (year : int, month : int) -> int, julian-doy-to-monthstd/time/calendars/julian-doy-to-month: (year : int, doy : int) -> int,
epoch-shift = 730121literal: int
dec = 730121
hex32= 0x000B2409
bit32= 0b00000000000010110010010000001001, has-year-zero = Falsestd/core/types/False: bool,
show-era = fnfn: (d : date) -> string(dd: date:datestd/time/date/date: V){ if dd: date.yearstd/time/date/date/year: (date : date) -> int.is-negstd/core/int/is-neg: (i : int) -> bool then "BC"literal: string
count= 2 else "AD"literal: string
count= 2 }
)
fun julian-days-before-monthstd/time/calendars/julian-days-before-month: (year : int, month : int) -> int( yearyear: int : intstd/core/types/int: V, monthmonth: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
val adjadj: int = julian-adjuststd/time/calendars/julian-adjust: (is-before-march : bool, year : int) -> int( monthmonth: int<=std/core/int/(<=): (x : int, y : int) -> bool2literal: int
dec = 2
hex8 = 0x02
bit8 = 0b00000010, yearyear: int )
(367literal: int
dec = 367
hex16= 0x016F
bit16= 0b0000000101101111*std/core/int/(*): (int, int) -> intmonthmonth: int -std/core/int/(-): (x : int, y : int) -> int 362literal: int
dec = 362
hex16= 0x016A
bit16= 0b0000000101101010)/std/core/int/(/): (x : int, y : int) -> int12literal: int
dec = 12
hex8 = 0x0C
bit8 = 0b00001100 -std/core/int/(-): (x : int, y : int) -> int adjadj: int
fun julian-doy-to-monthstd/time/calendars/julian-doy-to-month: (year : int, doy : int) -> int( yearyear: int : intstd/core/types/int: V, doydoy: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
val adjadj: int = julian-adjuststd/time/calendars/julian-adjust: (is-before-march : bool, year : int) -> int( doydoy: int<=std/core/int/(<=): (x : int, y : int) -> bool58literal: int
dec = 58
hex8 = 0x3A
bit8 = 0b00111010, yearyear: int)
(12literal: int
dec = 12
hex8 = 0x0C
bit8 = 0b00001100*std/core/int/(*): (int, int) -> int(doydoy: int +std/core/int/(+): (x : int, y : int) -> int adjadj: int) +std/core/int/(+): (x : int, y : int) -> int 373literal: int
dec = 373
hex16= 0x0175
bit16= 0b0000000101110101)/std/core/int/(/): (x : int, y : int) -> int367literal: int
dec = 367
hex16= 0x016F
bit16= 0b0000000101101111
fun julian-adjuststd/time/calendars/julian-adjust: (is-before-march : bool, year : int) -> int( is-before-marchis-before-march: bool : boolstd/core/types/bool: V, yearyear: int : intstd/core/types/int: V )result: -> total int : intstd/core/types/int: V
if is-before-marchis-before-march: bool then 0literal: int
dec = 0
hex8 = 0x00
bit8 = 0b00000000 elif yearyear: int%std/core/int/(%): (int, int) -> int4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100==std/core/int/(==): (x : int, y : int) -> bool0literal: int
dec = 0
hex8 = 0x00
bit8 = 0b00000000 then 1literal: int
dec = 1
hex8 = 0x01
bit8 = 0b00000001 else 2literal: int
dec = 2
hex8 = 0x02
bit8 = 0b00000010
fun julian-days-before-yearstd/time/calendars/julian-days-before-year: (year : int) -> int( yearyear: int : intstd/core/types/int: V )result: -> total int
val leapdaysleapdays: int = yearyear: int.decstd/core/int/dec: (i : int) -> int/std/core/int/(/): (x : int, y : int) -> int4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100
365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101*std/core/int/(*): (int, int) -> intyearyear: int.decstd/core/int/dec: (i : int) -> int +std/core/int/(+): (x : int, y : int) -> int leapdaysleapdays: int
fun julian-estimate-yearstd/time/calendars/julian-estimate-year: (days : int) -> (int, maybe<int>)( daysdays: int : intstd/core/types/int: V )result: -> total (int, maybe<int>) : (std/core/types/tuple2: (V, V) -> Vintstd/core/types/int: V,maybestd/core/types/maybe: V -> V<intstd/core/types/int: V>)
val (std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)eraera: int,yoeyoe: int)std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b) = divmodstd/core/int/divmod: (x : int, y : int) -> (int, int)(daysdays: int +std/core/int/(+): (x : int, y : int) -> int 365literal: int
dec = 365
hex16= 0x016D
bit16= 0b0000000101101101, 1461literal: int
dec = 1461
hex16= 0x05B5
bit16= 0b0000010110110101)
(std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)4literal: int
dec = 4
hex8 = 0x04
bit8 = 0b00000100*std/core/int/(*): (int, int) -> interaera: int +std/core/int/(+): (x : int, y : int) -> int yoeyoe: int/std/core/int/(/): (x : int, y : int) -> int366literal: int
dec = 366
hex16= 0x016E
bit16= 0b0000000101101110, Juststd/core/types/Just: forall<a> (value : a) -> maybe<a>(364literal: int
dec = 364
hex16= 0x016C
bit16= 0b0000000101101100))std/core/types/Tuple2: forall<a,b> (fst : a, snd : b) -> (a, b)
pub val cal-jgstd/time/calendars/cal-jg: calendar = julian-gregorianstd/time/calendars/julian-gregorian: (switch-date : ? date) -> calendar()
pub fun julian-gregorianstd/time/calendars/julian-gregorian: (switch-date : ? date) -> calendar( switch-dateswitch-date: ? date: datestd/time/date/date: V = Datestd/time/date/Date: (year : int, month : int, day : int) -> date(1582literal: int
dec = 1582
hex16= 0x062E
bit16= 0b0000011000101110,10literal: int
dec = 10
hex8 = 0x0A
bit8 = 0b00001010,15literal: int
dec = 15
hex8 = 0x0F
bit8 = 0b00001111) )result: -> total calendar : calendarstd/time/calendar/calendar: V
fun showerashowera: (d : date) -> string( dd: date:datestd/time/date/date: V )result: -> total string
if dd: date <std/time/date/(<): (i : date, j : date) -> bool switch-dateswitch-date: date then
if dd: date.yearstd/time/date/date/year: (date : date) -> int >=std/core/int/(>=): (x : int, y : int) -> bool 1500literal: int
dec = 1500
hex16= 0x05DC
bit16= 0b0000010111011100 then "CE (O.S.)"literal: string
count= 9 else (cal-julianstd/time/calendars/cal-julian: calendar.show-erastd/time/calendar/calendar/show-era: (calendar : calendar) -> ((date) -> string))(dd: date)
else
if dd: date.yearstd/time/date/date/year: (date : date) -> int <=std/core/int/(<=): (x : int, y : int) -> bool 1926literal: int
dec = 1926
hex16= 0x0786
bit16= 0b0000011110000110 then "CE (N.S.)"literal: string
count= 9 else (cal-gregorianstd/time/calendar/cal-gregorian: calendar.show-erastd/time/calendar/calendar/show-era: (calendar : calendar) -> ((date) -> string))(dd: date)
combine-earth-calendarsstd/time/calendar/combine-earth-calendars: (name : string, long-name : string, switch-date : date, cal1 : calendar, cal2 : calendar, mb-show-era : ? (maybe<(date) -> string>)) -> calendar( "JG"literal: string
count= 2, "Julian-Gregorian"literal: string
count= 16, switch-dateswitch-date: date, cal-julianstd/time/calendars/cal-julian: calendar, cal-gregorianstd/time/calendar/cal-gregorian: calendar, Juststd/core/types/Just: forall<a> (value : a) -> maybe<a>(showerashowera: (d : date) -> string) )