nx_docket_lib.nx
buildroot/runtime/nx_docket_lib.nx
about
nx_docket_lib.nx -- Nishi Office DOCKETING / deadline engine (F507, Utah URCP).
Never-miss = the biggest malpractice tail-risk. DATA-DRIVEN rules (rule-11): each rule
{days, mode, desc} lives in the seg-store, NOT hardcoded -- add a rule = a data change.
URCP Rule 6: a calendar deadline landing on a weekend ROLLS FORWARD to the next business
day. Business-day mode counts only business days. Dates = integer day-index (day 0 = Monday;
day%7: 0..4 = Mon..Fri, 5/6 = Sat/Sun). YYYYMMDD conversion + court-holiday table = flagged
next rungs. DRY: reuses nx_matter_lib helpers. LIB (no main). license_tier: ORIGINAL
dependencies 1 imports · 3 importers
imports: nx_matter_lib.nx
imported by: nx_docket.nxnx_docket_gate.nxnx_matter_intake_lib.nx
structs
| none |
consts
| 10 | const K_MAGIC_1024: i64 = 1024 |
functions
| 12 | func dk_atoi(s: *u8) -> i64 called by 1: dk_rule_days |
| 22 | func dk_is_weekend(day: i64) -> i64 |
| 29 | func dk_rule_put(prefix: *u8, id: *u8, days: i64, mode: i64, desc: *u8) -> i64 |
| 50 | func dk_rule_days(prefix: *u8, id: *u8, mode_out: *i64) -> i64 |
| 65 | func dk_compute(prefix: *u8, id: *u8, trigger: i64) -> i64 |