cswap-bend-cli
Search uses release 0.1.0.0 · 4,210 definitions
Definitions (4,210)
- def Clock.now_sUnix seconds now.
- def now_s
- def sel
- def sel.s
- def pad2
- def pad4
- def civil.adjCivil date (year, (month, day)) of a day count since 1970-01-01 (Hinnant's civil_from_days, all unsigned: z + 719468 is positive).
- def civil.ymd
- def civil.fin
- def civil.doy
- def civil.yoe
- def civil.doe
- def civil
- def iso.fmt
- def iso8601_utc`2026-10-30T09:00:00Z`, as the reference's strftime writes it.
- def iso8601_offset`2026-10-30T09:00:00+00:00`, as the reference's isoformat writes it.
- def all_digits
- def num.pick
- def numThe n digits of `s` at offset `off`, as a number.
- def at.pick
- def atTrue when the char at `i` is `a` or `b`.
- def valid
- def days.era
- def days.fin
- def daysDays since 1970-01-01 of a civil date (days_from_civil; y >= 1970).
- def digits_end.pick
- def digits_endDrop a leading run of digits.
- def frac.pick
- def frac
- def tz.min.sel
- def tz.min.pick
- def tz.min
- def tz.off.pick
- def tz.offThe zone offset in seconds, biased by 86400 so it stays unsigned: `Z`, `+HH:MM`, `-HH`, `+HHMM`, or none (read as UTC, as the reference's naive stamps are).
- def tz.hm
- def tz.z
- def tz.head
- def tz
- def shiftlocal = utc + offset, so utc = local - offset (offset = biased - 86400).
- def finish
- def parse.fin
- def parse.time
- def parse_iso8601Unix seconds of `2026-10-30T09:00:00+00:00`, `...Z`, `...00.123456Z`, a `-HH:MM` offset, or a bare stamp (read as UTC); None when malformed.
- type Out
- def ok
- def silent
- def failA handled error, text mode: `Error: <message>` on stderr, exit 1.
- def usageA usage error (argparse): the message on stderr, exit 2.
- def json_failThe --json error envelope: stdout, exit 1.
- def failed`json` picks the envelope or the text error.
- def docA JSON document on stdout, indent=2.