1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/programs/filesystem_fat32/src/datetime.hb
2024-09-17 08:01:16 -05:00

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)
}