shithub: mc

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