1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/programs/filesystem_fat32/src/datetime.hb

26 lines
413 B
Plaintext
Raw Normal View History

2024-09-17 08:01:16 -05:00
Date := struct {
year: u16,
month: u16,
day: u16,
2024-12-01 11:52:26 -06:00
compress_date := fn(year: u16, month: u16, day: u16): u16 {
return 0
}
decompress_date := fn(date: u16): Date {
return Date.(0, 0, 0)
}
2024-09-17 08:01:16 -05:00
}
2024-12-01 11:52:26 -06:00
2024-09-17 08:01:16 -05:00
Time := struct {
hour: u16,
minutes: u16,
seconds: u16,
2024-12-01 11:52:26 -06:00
compress_time := fn(hour: u16, minutes: u16, seconds: u16): u16 {
return 0
}
2024-09-17 08:01:16 -05:00
2024-12-01 11:52:26 -06:00
decompress_time := fn(time: u16): Time {
return Time.(0, 0, 0)
}
2024-09-17 08:01:16 -05:00
}