forked from AbleOS/ableos
26 lines
413 B
Plaintext
26 lines
413 B
Plaintext
Date := struct {
|
|
year: u16,
|
|
month: u16,
|
|
day: u16,
|
|
|
|
compress_date := fn(year: u16, month: u16, day: u16): u16 {
|
|
return 0
|
|
}
|
|
decompress_date := fn(date: u16): Date {
|
|
return Date.(0, 0, 0)
|
|
}
|
|
}
|
|
|
|
Time := struct {
|
|
hour: u16,
|
|
minutes: u16,
|
|
seconds: u16,
|
|
|
|
compress_time := fn(hour: u16, minutes: u16, seconds: u16): u16 {
|
|
return 0
|
|
}
|
|
|
|
decompress_time := fn(time: u16): Time {
|
|
return Time.(0, 0, 0)
|
|
}
|
|
} |