#!/bin/rc
# united states
gendstpairsus | tzfmt EST -18000 EDT -14400 > tz/US_Eastern
gendstpairsus | tzfmt CST -21600 CDT -18000 > tz/US_Central
gendstpairsus | tzfmt MST -25200 MDT -21600 > tz/US_Mountain
gendstpairsus | tzfmt PST -28800 PDT -25200 > tz/US_Pacific
gendstpairsus | tzfmt YST -32400 YDT -28800 > tz/US_Yukon
gendstpairsus | tzfmt AKS -32400 AKD -28800 > tz/US_Alaska
# wierd date ranges
gendstpairsus '$1 > 1973' | tzfmt EST -18000 EDT -14400 > tz/US_Michigan
gendstpairsus '$1 > 2005' | tzfmt EST -18000 EDT -14400 > tz/US_East-Indiana
# no dst at all
gendstpairsus ' $1 < 1970' | tzfmt MST -25200 MST -25200 > tz/US_Arizona
gendstpairsus ' $1 < 1970' | tzfmt HST -36000 HST -36000 > tz/US_Arizona
# canada
gendstpairsca | tzfmt AST -14400 ADT -10800 > tz/Canada_Atlantic
gendstpairsca | tzfmt CST -21600 CDT -18000 > tz/Canada_Central
gendstpairsca | tzfmt CST -21600 CST -21600 > tz/Canada_East-Saskatchewan
gendstpairsca | tzfmt EST -18000 EDT -14400 > tz/Canada_Eastern
gendstpairsca | tzfmt MST -25200 MDT -21600 > tz/Canada_Mountain
gendstpairsca | tzfmt NST -12600 NDT -9000 > tz/Canada_Newfoundland
gendstpairsca | tzfmt PST -28800 PDT -25200 > tz/Canada_Pacific
gendstpairsca | tzfmt YST -32400 YDT -28800 > tz/Canada_Yukon
# good old europe
gendstpairseu | tzfmt EET 7200 EET 10800 > tz/EET
# new zealand
# gendstpairsnz | tzfmt NZS 43200 NZD 46800 > tz/NZ
|