shithub: mc

ref: bfc9204963426bf0e8121b416458550b8f2616ad
dir: /lib/date/zoneinfo+plan9.myr/

View raw version
use std
use sys

use "types"

pkg _zoneinfo =
	type zifile
	const findtzoff : (tz : byte[:], tm : std.time -> std.option(date.duration))
	const load	: (file : byte[:] -> zifile#)
	const free	: (f : zifile# -> void)
;;

type zifile = byte

const findtzoff	= {tz, tm
	-> `std.Some 0
}

const load = {f
	-> std.alloc()
}

const free = {p
	-> std.free(p)
}