Theory revision 1.10
11.10Schristos#	$NetBSD: Theory,v 1.10 2011/09/04 10:10:26 christos Exp $
21.10Schristos@(#)Theory	8.6
31.9SmlelstvThis file is in the public domain, so clarified as of
41.9Smlelstv2009-05-17 by Arthur David Olson.
51.2Sperry
61.2Sperry----- Outline -----
71.2Sperry
81.2Sperry	Time and date functions
91.10Schristos	Scope of the tz database
101.10Schristos	Names of time zone rule files
111.2Sperry	Time zone abbreviations
121.4Skleink	Calendrical issues
131.8Skleink	Time and time zones on Mars
141.2Sperry
151.2Sperry----- Time and date functions -----
161.2Sperry
171.9SmlelstvThese time and date functions are upwards compatible with POSIX,
181.7Skleinkan international standard for UNIX-like systems.
191.9SmlelstvAs of this writing, the current edition of POSIX is:
201.2Sperry
211.9Smlelstv  Standard for Information technology
221.9Smlelstv  -- Portable Operating System Interface (POSIX (R))
231.9Smlelstv  -- System Interfaces
241.9Smlelstv  IEEE Std 1003.1, 2004 Edition
251.9Smlelstv  <http://www.opengroup.org/online-pubs?DOC=7999959899>
261.9Smlelstv  <http://www.opengroup.org/pubs/catalog/t041.htm>
271.2Sperry
281.9SmlelstvPOSIX has the following properties and limitations.
291.2Sperry
301.9Smlelstv*	In POSIX, time display in a process is controlled by the
311.9Smlelstv	environment variable TZ.  Unfortunately, the POSIX TZ string takes
321.2Sperry	a form that is hard to describe and is error-prone in practice.
331.9Smlelstv	Also, POSIX TZ strings can't deal with other (for example, Israeli)
341.2Sperry	daylight saving time rules, or situations where more than two
351.1Sjtc	time zone abbreviations are used in an area.
361.1Sjtc
371.9Smlelstv	The POSIX TZ string takes the following form:
381.2Sperry
391.2Sperry		stdoffset[dst[offset],date[/time],date[/time]]
401.2Sperry
411.2Sperry	where:
421.6Skleink
431.2Sperry	std and dst
441.2Sperry		are 3 or more characters specifying the standard
451.2Sperry		and daylight saving time (DST) zone names.
461.9Smlelstv		Starting with POSIX.1-2001, std and dst may also be
471.9Smlelstv		in a quoted form like "<UTC+10>"; this allows
481.9Smlelstv		"+" and "-" in the names.
491.2Sperry	offset
501.2Sperry		is of the form `[-]hh:[mm[:ss]]' and specifies the
511.2Sperry		offset west of UTC.  The default DST offset is one hour
521.2Sperry		ahead of standard time.
531.2Sperry	date[/time],date[/time]
541.2Sperry		specifies the beginning and end of DST.  If this is absent,
551.2Sperry		the system supplies its own rules for DST, and these can
561.2Sperry		differ from year to year; typically US DST rules are used.
571.2Sperry	time
581.2Sperry		takes the form `hh:[mm[:ss]]' and defaults to 02:00.
591.2Sperry	date
601.2Sperry		takes one of the following forms:
611.2Sperry		Jn (1<=n<=365)
621.2Sperry			origin-1 day number not counting February 29
631.2Sperry		n (0<=n<=365)
641.2Sperry			origin-0 day number counting February 29 if present
651.2Sperry		Mm.n.d (0[Sunday]<=d<=6[Saturday], 1<=n<=5, 1<=m<=12)
661.2Sperry			for the dth day of week n of month m of the year,
671.2Sperry			where week 1 is the first week in which day d appears,
681.2Sperry			and `5' stands for the last week in which day d appears
691.2Sperry			(which may be either the 4th or 5th week).
701.2Sperry
711.9Smlelstv	Here is an example POSIX TZ string, for US Pacific time using rules
721.9Smlelstv	appropriate from 1987 through 2006:
731.9Smlelstv
741.9Smlelstv		TZ='PST8PDT,M4.1.0/02:00,M10.5.0/02:00'
751.9Smlelstv
761.9Smlelstv	This POSIX TZ string is hard to remember, and mishandles time stamps
771.9Smlelstv	before 1987 and after 2006.  With this package you can use this
781.9Smlelstv	instead:
791.9Smlelstv
801.9Smlelstv		TZ='America/Los_Angeles'
811.9Smlelstv
821.9Smlelstv*	POSIX does not define the exact meaning of TZ values like "EST5EDT".
831.9Smlelstv	Typically the current US DST rules are used to interpret such values,
841.2Sperry	but this means that the US DST rules are compiled into each program
851.2Sperry	that does time conversion.  This means that when US time conversion
861.1Sjtc	rules change (as in the United States in 1987), all programs that
871.1Sjtc	do time conversion must be recompiled to ensure proper results.
881.1Sjtc
891.9Smlelstv*	In POSIX, there's no tamper-proof way for a process to learn the
901.1Sjtc	system's best idea of local wall clock.  (This is important for
911.1Sjtc	applications that an administrator wants used only at certain times--
921.1Sjtc	without regard to whether the user has fiddled the "TZ" environment
931.3Sjtc	variable.  While an administrator can "do everything in UTC" to get
941.1Sjtc	around the problem, doing so is inconvenient and precludes handling
951.2Sperry	daylight saving time shifts--as might be required to limit phone
961.1Sjtc	calls to off-peak hours.)
971.1Sjtc
981.9Smlelstv*	POSIX requires that systems ignore leap seconds.
991.1Sjtc
1001.9SmlelstvThese are the extensions that have been made to the POSIX functions:
1011.1Sjtc
1021.1Sjtc*	The "TZ" environment variable is used in generating the name of a file
1031.1Sjtc	from which time zone information is read (or is interpreted a la
1041.1Sjtc	POSIX); "TZ" is no longer constrained to be a three-letter time zone
1051.1Sjtc	name followed by a number of hours and an optional three-letter
1061.1Sjtc	daylight time zone name.  The daylight saving time rules to be used
1071.1Sjtc	for a particular time zone are encoded in the time zone file;
1081.1Sjtc	the format of the file allows U.S., Australian, and other rules to be
1091.1Sjtc	encoded, and allows for situations where more than two time zone
1101.1Sjtc	abbreviations are used.
1111.1Sjtc
1121.1Sjtc	It was recognized that allowing the "TZ" environment variable to
1131.2Sperry	take on values such as "America/New_York" might cause "old" programs
1141.1Sjtc	(that expect "TZ" to have a certain form) to operate incorrectly;
1151.1Sjtc	consideration was given to using some other environment variable
1161.1Sjtc	(for example, "TIMEZONE") to hold the string used to generate the
1171.1Sjtc	time zone information file name.  In the end, however, it was decided
1181.1Sjtc	to continue using "TZ":  it is widely used for time zone purposes;
1191.1Sjtc	separately maintaining both "TZ" and "TIMEZONE" seemed a nuisance;
1201.1Sjtc	and systems where "new" forms of "TZ" might cause problems can simply
1211.1Sjtc	use TZ values such as "EST5EDT" which can be used both by
1221.1Sjtc	"new" programs (a la POSIX) and "old" programs (as zone names and
1231.1Sjtc	offsets).
1241.1Sjtc
1251.1Sjtc*	To handle places where more than two time zone abbreviations are used,
1261.1Sjtc	the functions "localtime" and "gmtime" set tzname[tmp->tm_isdst]
1271.1Sjtc	(where "tmp" is the value the function returns) to the time zone
1281.9Smlelstv	abbreviation to be used.  This differs from POSIX, where the elements
1291.1Sjtc	of tzname are only changed as a result of calls to tzset.
1301.1Sjtc
1311.1Sjtc*	Since the "TZ" environment variable can now be used to control time
1321.1Sjtc	conversion, the "daylight" and "timezone" variables are no longer
1331.2Sperry	needed.  (These variables are defined and set by "tzset"; however, their
1341.1Sjtc	values will not be used by "localtime.")
1351.1Sjtc
1361.1Sjtc*	The "localtime" function has been set up to deliver correct results
1371.1Sjtc	for near-minimum or near-maximum time_t values.  (A comment in the
1381.1Sjtc	source code tells how to get compatibly wrong results).
1391.1Sjtc
1401.1Sjtc*	A function "tzsetwall" has been added to arrange for the system's
1411.1Sjtc	best approximation to local wall clock time to be delivered by
1421.1Sjtc	subsequent calls to "localtime."  Source code for portable
1431.1Sjtc	applications that "must" run on local wall clock time should call
1441.2Sperry	"tzsetwall();" if such code is moved to "old" systems that don't
1451.2Sperry	provide tzsetwall, you won't be able to generate an executable program.
1461.1Sjtc	(These time zone functions also arrange for local wall clock time to be
1471.1Sjtc	used if tzset is called--directly or indirectly--and there's no "TZ"
1481.1Sjtc	environment variable; portable applications should not, however, rely
1491.1Sjtc	on this behavior since it's not the way SVR2 systems behave.)
1501.1Sjtc
1511.9Smlelstv*	These functions can account for leap seconds, thanks to Bradley White.
1521.1Sjtc
1531.2SperryPoints of interest to folks with other systems:
1541.2Sperry
1551.2Sperry*	This package is already part of many POSIX-compliant hosts,
1561.2Sperry	including BSD, HP, Linux, Network Appliance, SCO, SGI, and Sun.
1571.2Sperry	On such hosts, the primary use of this package
1581.2Sperry	is to update obsolete time zone rule tables.
1591.2Sperry	To do this, you may need to compile the time zone compiler
1601.2Sperry	`zic' supplied with this package instead of using the system `zic',
1611.2Sperry	since the format of zic's input changed slightly in late 1994,
1621.2Sperry	and many vendors still do not support the new input format.
1631.2Sperry
1641.7Skleink*	The UNIX Version 7 "timezone" function is not present in this package;
1651.1Sjtc	it's impossible to reliably map timezone's arguments (a "minutes west
1661.1Sjtc	of GMT" value and a "daylight saving time in effect" flag) to a
1671.1Sjtc	time zone abbreviation, and we refuse to guess.
1681.1Sjtc	Programs that in the past used the timezone function may now examine
1691.1Sjtc	tzname[localtime(&clock)->tm_isdst] to learn the correct time
1701.2Sperry	zone abbreviation to use.  Alternatively, use
1711.2Sperry	localtime(&clock)->tm_zone if this has been enabled.
1721.2Sperry
1731.2Sperry*	The 4.2BSD gettimeofday function is not used in this package.
1741.2Sperry	This formerly let users obtain the current UTC offset and DST flag,
1751.2Sperry	but this functionality was removed in later versions of BSD.
1761.1Sjtc
1771.2Sperry*	In SVR2, time conversion fails for near-minimum or near-maximum
1781.3Sjtc	time_t values when doing conversions for places that don't use UTC.
1791.2Sperry	This package takes care to do these conversions correctly.
1801.2Sperry
1811.2SperryThe functions that are conditionally compiled if STD_INSPIRED is defined
1821.2Sperryshould, at this point, be looked on primarily as food for thought.  They are
1831.2Sperrynot in any sense "standard compatible"--some are not, in fact, specified in
1841.2Sperry*any* standard.  They do, however, represent responses of various authors to
1851.1Sjtcstandardization proposals.
1861.1Sjtc
1871.1SjtcOther time conversion proposals, in particular the one developed by folks at
1881.1SjtcHewlett Packard, offer a wider selection of functions that provide capabilities
1891.1Sjtcbeyond those provided here.  The absence of such functions from this package
1901.1Sjtcis not meant to discourage the development, standardization, or use of such
1911.1Sjtcfunctions.  Rather, their absence reflects the decision to make this package
1921.9Smlelstvcontain valid extensions to POSIX, to ensure its broad acceptability.  If
1931.9Smlelstvmore powerful time conversion functions can be standardized, so much the
1941.9Smlelstvbetter.
1951.2Sperry
1961.2Sperry
1971.10Schristos----- Scope of the tz database -----
1981.10Schristos
1991.10SchristosThe tz database attempts to record the history and predicted future of 
2001.10Schristosall computer-based clocks that track civil time.  To represent this 
2011.10Schristosdata, the world is partitioned into regions whose clocks all agree 
2021.10Schristosabout time stamps that occur after the somewhat-arbitrary cutoff point 
2031.10Schristosof the POSIX Epoch (1970-01-01 00:00:00 UTC).  For each such region, 
2041.10Schristosthe database records all known clock transitions, and labels the region 
2051.10Schristoswith a notable location.
2061.10Schristos
2071.10SchristosClock transitions before 1970 are recorded for each such location, 
2081.10Schristosbecause most POSIX-compatible systems support negative time stamps and 
2091.10Schristoscould misbehave if data were omitted for pre-1970 transitions.
2101.10SchristosHowever, the database is not designed for and does not suffice for 
2111.10Schristosapplications requiring accurate handling of all past times everywhere, 
2121.10Schristosas it would take far too much effort and guesswork to record all 
2131.10Schristosdetails of pre-1970 civil timekeeping.
2141.10Schristos
2151.10SchristosAs noted in the README file, the tz database is not authoritative 
2161.10Schristos(particularly not for pre-1970 time stamps), and it surely has errors.
2171.10SchristosCorrections are welcome and encouraged.  Users requiring authoritative 
2181.10Schristosdata should consult national standards bodies and the references cited 
2191.10Schristosin the database's comments.
2201.10Schristos
2211.10Schristos
2221.2Sperry----- Names of time zone rule files -----
2231.2Sperry
2241.6SkleinkThe time zone rule file naming conventions attempt to strike a balance
2251.6Skleinkamong the following goals:
2261.6Skleink
2271.6Skleink * Uniquely identify every national region where clocks have all
2281.6Skleink   agreed since 1970.  This is essential for the intended use: static
2291.6Skleink   clocks keeping local civil time.
2301.6Skleink
2311.6Skleink * Indicate to humans as to where that region is.  This simplifes use.
2321.6Skleink
2331.6Skleink * Be robust in the presence of political changes.  This reduces the
2341.6Skleink   number of updates and backward-compatibility hacks.  For example,
2351.6Skleink   names of countries are ordinarily not used, to avoid
2361.6Skleink   incompatibilities when countries change their name
2371.6Skleink   (e.g. Zaire->Congo) or when locations change countries
2381.6Skleink   (e.g. Hong Kong from UK colony to China).
2391.6Skleink
2401.6Skleink * Be portable to a wide variety of implementations.
2411.6Skleink   This promotes use of the technology.
2421.6Skleink
2431.6Skleink * Use a consistent naming convention over the entire world.
2441.6Skleink   This simplifies both use and maintenance.
2451.6Skleink
2461.6SkleinkThis naming convention is not intended for use by inexperienced users
2471.6Skleinkto select TZ values by themselves (though they can of course examine
2481.6Skleinkand reuse existing settings).  Distributors should provide
2491.6Skleinkdocumentation and/or a simple selection interface that explains the
2501.6Skleinknames; see the 'tzselect' program supplied with this distribution for
2511.6Skleinkone example.
2521.2Sperry
2531.2SperryNames normally have the form AREA/LOCATION, where AREA is the name
2541.2Sperryof a continent or ocean, and LOCATION is the name of a specific
2551.2Sperrylocation within that region.  North and South America share the same
2561.2Sperryarea, `America'.  Typical names are `Africa/Cairo', `America/New_York',
2571.2Sperryand `Pacific/Honolulu'.
2581.2Sperry
2591.2SperryHere are the general rules used for choosing location names,
2601.2Sperryin decreasing order of importance:
2611.2Sperry
2621.6Skleink	Use only valid POSIX file name components (i.e., the parts of
2631.6Skleink		names other than `/').  Within a file name component,
2641.6Skleink		use only ASCII letters, `.', `-' and `_'.  Do not use
2651.6Skleink		digits, as that might create an ambiguity with POSIX
2661.6Skleink		TZ strings.  A file name component must not exceed 14
2671.6Skleink		characters or start with `-'.  E.g., prefer `Brunei'
2681.6Skleink		to `Bandar_Seri_Begawan'.
2691.2Sperry	Include at least one location per time zone rule set per country.
2701.5Skleink		One such location is enough.  Use ISO 3166 (see the file
2711.5Skleink		iso3166.tab) to help decide whether something is a country.
2721.9Smlelstv		However, uninhabited ISO 3166 regions like Bouvet Island
2731.9Smlelstv		do not need locations, since local time is not defined there.
2741.2Sperry	If all the clocks in a country's region have agreed since 1970,
2751.2Sperry		don't bother to include more than one location
2761.2Sperry		even if subregions' clocks disagreed before 1970.
2771.2Sperry		Otherwise these tables would become annoyingly large.
2781.2Sperry	If a name is ambiguous, use a less ambiguous alternative;
2791.2Sperry		e.g. many cities are named San Jose and Georgetown, so
2801.2Sperry		prefer `Costa_Rica' to `San_Jose' and `Guyana' to `Georgetown'.
2811.2Sperry	Keep locations compact.  Use cities or small islands, not countries
2821.2Sperry		or regions, so that any future time zone changes do not split
2831.2Sperry		locations into different time zones.  E.g. prefer `Paris'
2841.2Sperry		to `France', since France has had multiple time zones.
2851.6Skleink	Use mainstream English spelling, e.g. prefer `Rome' to `Roma', and
2861.2Sperry		prefer `Athens' to the true name (which uses Greek letters).
2871.6Skleink		The POSIX file name restrictions encourage this rule.
2881.2Sperry	Use the most populous among locations in a country's time zone,
2891.2Sperry		e.g. prefer `Shanghai' to `Beijing'.  Among locations with
2901.2Sperry		similar populations, pick the best-known location,
2911.2Sperry		e.g. prefer `Rome' to `Milan'.
2921.2Sperry	Use the singular form, e.g. prefer `Canary' to `Canaries'.
2931.2Sperry	Omit common suffixes like `_Islands' and `_City', unless that
2941.2Sperry		would lead to ambiguity.  E.g. prefer `Cayman' to
2951.2Sperry		`Cayman_Islands' and `Guatemala' to `Guatemala_City',
2961.2Sperry		but prefer `Mexico_City' to `Mexico' because the country
2971.2Sperry		of Mexico has several time zones.
2981.2Sperry	Use `_' to represent a space.
2991.2Sperry	Omit `.' from abbreviations in names, e.g. prefer `St_Helena'
3001.2Sperry		to `St._Helena'.
3011.5Skleink	Do not change established names if they only marginally
3021.5Skleink		violate the above rules.  For example, don't change
3031.5Skleink		the existing name `Rome' to `Milan' merely because
3041.5Skleink		Milan's population has grown to be somewhat greater
3051.5Skleink		than Rome's.
3061.5Skleink	If a name is changed, put its old spelling in the `backward' file.
3071.2Sperry
3081.2SperryThe file `zone.tab' lists the geographical locations used to name
3091.9Smlelstvtime zone rule files.  It is intended to be an exhaustive list
3101.9Smlelstvof canonical names for geographic regions.
3111.2Sperry
3121.2SperryOlder versions of this package used a different naming scheme,
3131.2Sperryand these older names are still supported.
3141.5SkleinkSee the file `backward' for most of these older names
3151.2Sperry(e.g. `US/Eastern' instead of `America/New_York').
3161.2SperryThe other old-fashioned names still supported are
3171.10Schristos+`WET', `CET', `MET', and `EET' (see the file `europe').
3181.2Sperry
3191.2Sperry
3201.2Sperry----- Time zone abbreviations -----
3211.2Sperry
3221.2SperryWhen this package is installed, it generates time zone abbreviations
3231.9Smlelstvlike `EST' to be compatible with human tradition and POSIX.
3241.2SperryHere are the general rules used for choosing time zone abbreviations,
3251.2Sperryin decreasing order of importance:
3261.2Sperry
3271.6Skleink	Use abbreviations that consist of three or more ASCII letters.
3281.2Sperry		Previous editions of this database also used characters like
3291.2Sperry		' ' and '?', but these characters have a special meaning to
3301.2Sperry		the shell and cause commands like
3311.2Sperry			set `date`
3321.6Skleink		to have unexpected effects.
3331.6Skleink		Previous editions of this rule required upper-case letters,
3341.6Skleink		but the Congressman who introduced Chamorro Standard Time
3351.6Skleink		preferred "ChST", so the rule has been relaxed.
3361.6Skleink
3371.6Skleink		This rule guarantees that all abbreviations could have
3381.9Smlelstv		been specified by a POSIX TZ string.  POSIX
3391.6Skleink		requires at least three characters for an
3401.9Smlelstv		abbreviation.  POSIX through 2000 says that an abbreviation
3411.6Skleink		cannot start with ':', and cannot contain ',', '-',
3421.9Smlelstv		'+', NUL, or a digit.  POSIX from 2001 on changes this
3431.9Smlelstv		rule to say that an abbreviation can contain only '-', '+',
3441.9Smlelstv		and alphanumeric characters from the portable character set
3451.9Smlelstv		in the current locale.  To be portable to both sets of
3461.6Skleink		rules, an abbreviation must therefore use only ASCII
3471.9Smlelstv		letters.
3481.6Skleink
3491.2Sperry	Use abbreviations that are in common use among English-speakers,
3501.2Sperry		e.g. `EST' for Eastern Standard Time in North America.
3511.2Sperry		We assume that applications translate them to other languages
3521.2Sperry		as part of the normal localization process; for example,
3531.2Sperry		a French application might translate `EST' to `HNE'.
3541.6Skleink
3551.2Sperry	For zones whose times are taken from a city's longitude, use the
3561.2Sperry		traditional xMT notation, e.g. `PMT' for Paris Mean Time.
3571.2Sperry		The only name like this in current use is `GMT'.
3581.6Skleink
3591.2Sperry	If there is no common English abbreviation, abbreviate the English
3601.2Sperry		translation of the usual phrase used by native speakers.
3611.2Sperry		If this is not available or is a phrase mentioning the country
3621.2Sperry		(e.g. ``Cape Verde Time''), then:
3631.2Sperry
3641.2Sperry		When a country has a single or principal time zone region,
3651.2Sperry			append `T' to the country's ISO	code, e.g. `CVT' for
3661.2Sperry			Cape Verde Time.  For summer time append `ST';
3671.2Sperry			for double summer time append `DST'; etc.
3681.2Sperry		When a country has multiple time zones, take the first three
3691.2Sperry			letters of an English place name identifying each zone
3701.2Sperry			and then append `T', `ST', etc. as before;
3711.2Sperry			e.g. `VLAST' for VLAdivostok Summer Time.
3721.2Sperry
3731.9Smlelstv	Use UTC (with time zone abbreviation "zzz") for locations while
3741.9Smlelstv		uninhabited.  The "zzz" mnemonic is that these locations are,
3751.9Smlelstv		in some sense, asleep.
3761.6Skleink
3771.2SperryApplication writers should note that these abbreviations are ambiguous
3781.2Sperryin practice: e.g. `EST' has a different meaning in Australia than
3791.2Sperryit does in the United States.  In new applications, it's often better
3801.3Sjtcto use numeric UTC offsets like `-0500' instead of time zone
3811.2Sperryabbreviations like `EST'; this avoids the ambiguity.
3821.4Skleink
3831.4Skleink
3841.4Skleink----- Calendrical issues -----
3851.4Skleink
3861.4SkleinkCalendrical issues are a bit out of scope for a time zone database,
3871.4Skleinkbut they indicate the sort of problems that we would run into if we
3881.4Skleinkextended the time zone database further into the past.  An excellent
3891.10Schristosresource in this area is Nachum Dershowitz and Edward M. Reingold,
3901.10Schristos<a href="http://emr.cs.iit.edu/home/reingold/calendar-book/third-edition/">
3911.10SchristosCalendrical Calculations: Third Edition
3921.10Schristos</a>, Cambridge University Press (2008).  Other information and
3931.4Skleinksources are given below.  They sometimes disagree.
3941.4Skleink
3951.4Skleink
3961.4SkleinkFrance
3971.4Skleink
3981.4SkleinkGregorian calendar adopted 1582-12-20.
3991.4SkleinkFrench Revolutionary calendar used 1793-11-24 through 1805-12-31,
4001.4Skleinkand (in Paris only) 1871-05-06 through 1871-05-23.
4011.4Skleink
4021.4Skleink
4031.4SkleinkRussia
4041.4Skleink
4051.9SmlelstvFrom Chris Carrier (1996-12-02):
4061.4SkleinkOn 1929-10-01 the Soviet Union instituted an ``Eternal Calendar''
4071.4Skleinkwith 30-day months plus 5 holidays, with a 5-day week.
4081.4SkleinkOn 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the
4091.4SkleinkGregorian calendar while retaining the 6-day week; on 1940-06-27 it
4101.4Skleinkreverted to the 7-day week.  With the 6-day week the usual days
4111.4Skleinkoff were the 6th, 12th, 18th, 24th and 30th of the month.
4121.4Skleink(Source: Evitiar Zerubavel, _The Seven Day Circle_)
4131.4Skleink
4141.4Skleink
4151.4SkleinkMark Brader reported a similar story in "The Book of Calendars", edited
4161.4Skleinkby Frank Parise (1982, Facts on File, ISBN 0-8719-6467-8), page 377.  But:
4171.4Skleink
4181.4SkleinkFrom: Petteri Sulonen (via Usenet)
4191.4SkleinkDate: 14 Jan 1999 00:00:00 GMT
4201.9Smlelstv...
4211.4Skleink
4221.4SkleinkIf your source is correct, how come documents between 1929 -- 1940 were
4231.4Skleinkstill dated using the conventional, Gregorian calendar?
4241.4Skleink
4251.4SkleinkI can post a scan of a document dated December 1, 1934, signed by
4261.4SkleinkYenukidze, the secretary, on behalf of Kalinin, the President of the
4271.4SkleinkExecutive Committee of the Supreme Soviet, if you like.
4281.4Skleink
4291.4Skleink
4301.4Skleink
4311.4SkleinkSweden (and Finland)
4321.4Skleink
4331.9SmlelstvFrom: Mark Brader
4341.4Skleink<a href="news:1996Jul6.012937.29190@sq.com">
4351.4SkleinkSubject: Re: Gregorian reform -- a part of locale?
4361.4Skleink</a>
4371.4SkleinkDate: 1996-07-06
4381.4Skleink
4391.4SkleinkIn 1700, Denmark made the transition from Julian to Gregorian.  Sweden
4401.4Skleinkdecided to *start* a transition in 1700 as well, but rather than have one of
4411.4Skleinkthose unsightly calendar gaps :-), they simply decreed that the next leap
4421.4Skleinkyear after 1696 would be in 1744 -- putting the whole country on a calendar
4431.4Skleinkdifferent from both Julian and Gregorian for a period of 40 years.
4441.4Skleink
4451.4SkleinkHowever, in 1704 something went wrong and the plan was not carried through;
4461.4Skleinkthey did, after all, have a leap year that year.  And one in 1708.  In 1712
4471.4Skleinkthey gave it up and went back to Julian, putting 30 days in February that
4481.4Skleinkyear!...
4491.4Skleink
4501.4SkleinkThen in 1753, Sweden made the transition to Gregorian in the usual manner,
4511.4Skleinkgetting there only 13 years behind the original schedule.
4521.4Skleink
4531.4Skleink(A previous posting of this story was challenged, and Swedish readers
4541.4Skleinkproduced the following references to support it: "Tiderakning och historia"
4551.4Skleinkby Natanael Beckman (1924) and "Tid, en bok om tiderakning och
4561.4Skleinkkalendervasen" by Lars-Olof Lode'n (no date was given).)
4571.4Skleink
4581.4Skleink
4591.4SkleinkGrotefend's data
4601.4Skleink
4611.9SmlelstvFrom: "Michael Palmer" [with one obvious typo fixed]
4621.4SkleinkSubject: Re: Gregorian Calendar (was Re: Another FHC related question
4631.4SkleinkNewsgroups: soc.genealogy.german
4641.4SkleinkDate: Tue, 9 Feb 1999 02:32:48 -800
4651.9Smlelstv...
4661.4Skleink
4671.6SkleinkThe following is a(n incomplete) listing, arranged chronologically, of
4681.6SkleinkEuropean states, with the date they converted from the Julian to the
4691.4SkleinkGregorian calendar:
4701.4Skleink
4711.4Skleink04/15 Oct 1582 - Italy (with exceptions), Spain, Portugal, Poland (Roman
4721.4Skleink                 Catholics and Danzig only)
4731.4Skleink09/20 Dec 1582 - France, Lorraine
4741.4Skleink
4751.4Skleink21 Dec 1582/
4761.4Skleink   01 Jan 1583 - Holland, Brabant, Flanders, Hennegau
4771.4Skleink10/21 Feb 1583 - bishopric of Liege (L"uttich)
4781.4Skleink13/24 Feb 1583 - bishopric of Augsburg
4791.4Skleink04/15 Oct 1583 - electorate of Trier
4801.4Skleink05/16 Oct 1583 - Bavaria, bishoprics of Freising, Eichstedt, Regensburg,
4811.4Skleink                 Salzburg, Brixen
4821.4Skleink13/24 Oct 1583 - Austrian Oberelsass and Breisgau
4831.4Skleink20/31 Oct 1583 - bishopric of Basel
4841.4Skleink02/13 Nov 1583 - duchy of J"ulich-Berg
4851.4Skleink02/13 Nov 1583 - electorate and city of K"oln
4861.4Skleink04/15 Nov 1583 - bishopric of W"urzburg
4871.4Skleink11/22 Nov 1583 - electorate of Mainz
4881.4Skleink16/27 Nov 1583 - bishopric of Strassburg and the margraviate of Baden
4891.4Skleink17/28 Nov 1583 - bishopric of M"unster and duchy of Cleve
4901.4Skleink14/25 Dec 1583 - Steiermark
4911.4Skleink
4921.4Skleink06/17 Jan 1584 - Austria and Bohemia
4931.4Skleink11/22 Jan 1584 - Luzern, Uri, Schwyz, Zug, Freiburg, Solothurn
4941.4Skleink12/23 Jan 1584 - Silesia and the Lausitz
4951.4Skleink22 Jan/
4961.4Skleink   02 Feb 1584 - Hungary (legally on 21 Oct 1587)
4971.4Skleink      Jun 1584 - Unterwalden
4981.4Skleink01/12 Jul 1584 - duchy of Westfalen
4991.4Skleink
5001.4Skleink16/27 Jun 1585 - bishopric of Paderborn
5011.4Skleink
5021.4Skleink14/25 Dec 1590 - Transylvania
5031.4Skleink
5041.4Skleink22 Aug/
5051.4Skleink   02 Sep 1612 - duchy of Prussia
5061.4Skleink
5071.4Skleink13/24 Dec 1614 - Pfalz-Neuburg
5081.4Skleink
5091.4Skleink          1617 - duchy of Kurland (reverted to the Julian calendar in
5101.4Skleink                 1796)
5111.4Skleink
5121.4Skleink          1624 - bishopric of Osnabr"uck
5131.4Skleink
5141.4Skleink          1630 - bishopric of Minden
5151.4Skleink
5161.4Skleink15/26 Mar 1631 - bishopric of Hildesheim
5171.4Skleink
5181.4Skleink          1655 - Kanton Wallis
5191.4Skleink
5201.4Skleink05/16 Feb 1682 - city of Strassburg
5211.4Skleink
5221.4Skleink18 Feb/
5231.4Skleink   01 Mar 1700 - Protestant Germany (including Swedish possessions in
5241.4Skleink                 Germany), Denmark, Norway
5251.4Skleink30 Jun/
5261.4Skleink   12 Jul 1700 - Gelderland, Zutphen
5271.4Skleink10 Nov/
5281.4Skleink   12 Dec 1700 - Utrecht, Overijssel
5291.4Skleink
5301.4Skleink31 Dec 1700/
5311.4Skleink   12 Jan 1701 - Friesland, Groningen, Z"urich, Bern, Basel, Geneva,
5321.4Skleink                 Turgau, and Schaffhausen
5331.4Skleink
5341.4Skleink          1724 - Glarus, Appenzell, and the city of St. Gallen
5351.4Skleink
5361.4Skleink01 Jan 1750    - Pisa and Florence
5371.4Skleink
5381.4Skleink02/14 Sep 1752 - Great Britain
5391.4Skleink
5401.4Skleink17 Feb/
5411.4Skleink   01 Mar 1753 - Sweden
5421.4Skleink
5431.4Skleink1760-1812      - Graub"unden
5441.4Skleink
5451.6SkleinkThe Russian empire (including Finland and the Baltic states) did not
5461.4Skleinkconvert to the Gregorian calendar until the Soviet revolution of 1917.
5471.4Skleink
5481.6SkleinkSource:  H. Grotefend, _Taschenbuch der Zeitrechnung des deutschen
5491.6SkleinkMittelalters und der Neuzeit_, herausgegeben von Dr. O. Grotefend
5501.4Skleink(Hannover:  Hahnsche Buchhandlung, 1941), pp. 26-28.
5511.8Skleink
5521.8Skleink
5531.8Skleink----- Time and time zones on Mars -----
5541.8Skleink
5551.8SkleinkSome people have adjusted their work schedules to fit Mars time.
5561.8SkleinkDozens of special Mars watches were built for Jet Propulsion
5571.8SkleinkLaboratory workers who kept Mars time during the Mars Exploration
5581.8SkleinkRovers mission (2004).  These timepieces look like normal Seikos and
5591.8SkleinkCitizens but use Mars seconds rather than terrestrial seconds.
5601.8Skleink
5611.8SkleinkA Mars solar day is called a "sol" and has a mean period equal to
5621.8Skleinkabout 24 hours 39 minutes 35.244 seconds in terrestrial time.  It is
5631.8Skleinkdivided into a conventional 24-hour clock, so each Mars second equals
5641.8Skleinkabout 1.02749125 terrestrial seconds.
5651.8Skleink
5661.8SkleinkThe prime meridian of Mars goes through the center of the crater
5671.8SkleinkAiry-0, named in honor of the British astronomer who built the
5681.8SkleinkGreenwich telescope that defines Earth's prime meridian.  Mean solar
5691.8Skleinktime on the Mars prime meridian is called Mars Coordinated Time (MTC).
5701.8Skleink
5711.8SkleinkEach landed mission on Mars has adopted a different reference for
5721.8Skleinksolar time keeping, so there is no real standard for Mars time zones.
5731.8SkleinkFor example, the Mars Exploration Rover project (2004) defined two
5741.8Skleinktime zones "Local Solar Time A" and "Local Solar Time B" for its two
5751.8Skleinkmissions, each zone designed so that its time equals local true solar
5761.8Skleinktime at approximately the middle of the nominal mission.  Such a "time
5771.8Skleinkzone" is not particularly suited for any application other than the
5781.8Skleinkmission itself.
5791.8Skleink
5801.8SkleinkMany calendars have been proposed for Mars, but none have achieved
5811.8Skleinkwide acceptance.  Astronomers often use Mars Sol Date (MSD) which is a
5821.8Skleinksequential count of Mars solar days elapsed since about 1873-12-29
5831.8Skleink12:00 GMT.
5841.8Skleink
5851.8SkleinkThe tz database does not currently support Mars time, but it is
5861.8Skleinkdocumented here in the hopes that support will be added eventually.
5871.8Skleink
5881.8SkleinkSources:
5891.8Skleink
5901.8SkleinkMichael Allison and Robert Schmunk,
5911.8Skleink"Technical Notes on Mars Solar Time as Adopted by the Mars24 Sunclock"
5921.9Smlelstv<http://www.giss.nasa.gov/tools/mars24/help/notes.html> (2004-07-30).
5931.8Skleink
5941.8SkleinkJia-Rui Chong, "Workdays Fit for a Martian", Los Angeles Times
5951.8Skleink(2004-01-14), pp A1, A20-A21.
596