code wiki / _hdl_build / nx_viz_time.nx
nx_viz_time.nx
buildroot/runtime/_hdl_build/nx_viz_time.nx
about
nx_viz_time.nx -- the TIME layer of the sovereign Nishi viz library (the d3-time-format / d3-scale time core,
bits-up). Civil date from epoch (Hinnant's integer algorithm) + "YYYY-MM-DD" formatting + day-floor (the nice
tick for time scales; pair with nx_viz_scale vs_linear on epoch seconds). Closes time-format + scale-time.
license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_viz_time_gate.nx
structs
| none |
consts
| 6 | const K_MAGIC_719468: i64 = 719468 |
| 7 | const K_MAGIC_146097: i64 = 146097 |
| 8 | const K_MAGIC_146096: i64 = 146096 |
| 9 | const K_MAGIC_1460: i64 = 1460 |
| 10 | const K_MAGIC_36524: i64 = 36524 |
| 11 | const K_MAGIC_86400: i64 = 86400 |
functions
| 14 | func vt_civil(days: i64, out3: *i64) -> i64 |
| 32 | func vt_format(epoch: i64, out: *u8) -> i64 |
| 54 | func vt_day_floor(epoch: i64) -> i64 called by 1: main |
| 59 | func main() -> i64 { return 0 } |