25 lines
400 B
Plaintext
25 lines
400 B
Plaintext
Date := struct {
|
|
year: u16,
|
|
month: u16,
|
|
day: u16,
|
|
}
|
|
Time := struct {
|
|
hour: u16,
|
|
minutes: u16,
|
|
seconds: u16,
|
|
}
|
|
|
|
compress_date := fn(year: u16, month: u16, day: u16): u16 {
|
|
return 0
|
|
}
|
|
decompress_date := fn(date: u16): Date {
|
|
return Date.(0, 0, 0)
|
|
}
|
|
|
|
compress_time := fn(hour: u16, minutes: u16, seconds: u16): u16 {
|
|
return 0
|
|
}
|
|
|
|
decompress_time := fn(time: u16): Time {
|
|
return Time.(0, 0, 0)
|
|
} |