shithub: mc

ref: 2d9fe7100209acb431e392d58e4cf4eccfde00b7
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)
}