Theory revision 1.7
11.7Skleink# $NetBSD: Theory,v 1.7 2003/12/20 00:12:05 kleink Exp $ 21.7Skleink@(#)Theory 7.14 31.1Sjtc 41.2Sperry 51.2Sperry----- Outline ----- 61.2Sperry 71.2Sperry Time and date functions 81.2Sperry Names of time zone regions 91.2Sperry Time zone abbreviations 101.4Skleink Calendrical issues 111.2Sperry 121.2Sperry 131.2Sperry----- Time and date functions ----- 141.2Sperry 151.2SperryThese time and date functions are upwards compatible with POSIX.1, 161.7Skleinkan international standard for UNIX-like systems. 171.2SperryAs of this writing, the current edition of POSIX.1 is: 181.2Sperry 191.2Sperry Information technology --Portable Operating System Interface (POSIX (R)) 201.2Sperry -- Part 1: System Application Program Interface (API) [C Language] 211.2Sperry ISO/IEC 9945-1:1996 221.2Sperry ANSI/IEEE Std 1003.1, 1996 Edition 231.2Sperry 1996-07-12 241.2Sperry 251.2SperryPOSIX.1 has the following properties and limitations. 261.2Sperry 271.2Sperry* In POSIX.1, time display in a process is controlled by the 281.2Sperry environment variable TZ. Unfortunately, the POSIX.1 TZ string takes 291.2Sperry a form that is hard to describe and is error-prone in practice. 301.2Sperry Also, POSIX.1 TZ strings can't deal with other (for example, Israeli) 311.2Sperry daylight saving time rules, or situations where more than two 321.1Sjtc time zone abbreviations are used in an area. 331.1Sjtc 341.2Sperry The POSIX.1 TZ string takes the following form: 351.2Sperry 361.2Sperry stdoffset[dst[offset],date[/time],date[/time]] 371.2Sperry 381.2Sperry where: 391.6Skleink 401.2Sperry std and dst 411.2Sperry are 3 or more characters specifying the standard 421.2Sperry and daylight saving time (DST) zone names. 431.2Sperry offset 441.2Sperry is of the form `[-]hh:[mm[:ss]]' and specifies the 451.2Sperry offset west of UTC. The default DST offset is one hour 461.2Sperry ahead of standard time. 471.2Sperry date[/time],date[/time] 481.2Sperry specifies the beginning and end of DST. If this is absent, 491.2Sperry the system supplies its own rules for DST, and these can 501.2Sperry differ from year to year; typically US DST rules are used. 511.2Sperry time 521.2Sperry takes the form `hh:[mm[:ss]]' and defaults to 02:00. 531.2Sperry date 541.2Sperry takes one of the following forms: 551.2Sperry Jn (1<=n<=365) 561.2Sperry origin-1 day number not counting February 29 571.2Sperry n (0<=n<=365) 581.2Sperry origin-0 day number counting February 29 if present 591.2Sperry Mm.n.d (0[Sunday]<=d<=6[Saturday], 1<=n<=5, 1<=m<=12) 601.2Sperry for the dth day of week n of month m of the year, 611.2Sperry where week 1 is the first week in which day d appears, 621.2Sperry and `5' stands for the last week in which day d appears 631.2Sperry (which may be either the 4th or 5th week). 641.2Sperry 651.2Sperry* In POSIX.1, when a TZ value like "EST5EDT" is parsed, 661.2Sperry typically the current US DST rules are used, 671.2Sperry but this means that the US DST rules are compiled into each program 681.2Sperry that does time conversion. This means that when US time conversion 691.1Sjtc rules change (as in the United States in 1987), all programs that 701.1Sjtc do time conversion must be recompiled to ensure proper results. 711.1Sjtc 721.2Sperry* In POSIX.1, there's no tamper-proof way for a process to learn the 731.1Sjtc system's best idea of local wall clock. (This is important for 741.1Sjtc applications that an administrator wants used only at certain times-- 751.1Sjtc without regard to whether the user has fiddled the "TZ" environment 761.3Sjtc variable. While an administrator can "do everything in UTC" to get 771.1Sjtc around the problem, doing so is inconvenient and precludes handling 781.2Sperry daylight saving time shifts--as might be required to limit phone 791.1Sjtc calls to off-peak hours.) 801.1Sjtc 811.2Sperry* POSIX.1 requires that systems ignore leap seconds. 821.1Sjtc 831.2SperryThese are the extensions that have been made to the POSIX.1 functions: 841.1Sjtc 851.1Sjtc* The "TZ" environment variable is used in generating the name of a file 861.1Sjtc from which time zone information is read (or is interpreted a la 871.1Sjtc POSIX); "TZ" is no longer constrained to be a three-letter time zone 881.1Sjtc name followed by a number of hours and an optional three-letter 891.1Sjtc daylight time zone name. The daylight saving time rules to be used 901.1Sjtc for a particular time zone are encoded in the time zone file; 911.1Sjtc the format of the file allows U.S., Australian, and other rules to be 921.1Sjtc encoded, and allows for situations where more than two time zone 931.1Sjtc abbreviations are used. 941.1Sjtc 951.1Sjtc It was recognized that allowing the "TZ" environment variable to 961.2Sperry take on values such as "America/New_York" might cause "old" programs 971.1Sjtc (that expect "TZ" to have a certain form) to operate incorrectly; 981.1Sjtc consideration was given to using some other environment variable 991.1Sjtc (for example, "TIMEZONE") to hold the string used to generate the 1001.1Sjtc time zone information file name. In the end, however, it was decided 1011.1Sjtc to continue using "TZ": it is widely used for time zone purposes; 1021.1Sjtc separately maintaining both "TZ" and "TIMEZONE" seemed a nuisance; 1031.1Sjtc and systems where "new" forms of "TZ" might cause problems can simply 1041.1Sjtc use TZ values such as "EST5EDT" which can be used both by 1051.1Sjtc "new" programs (a la POSIX) and "old" programs (as zone names and 1061.1Sjtc offsets). 1071.1Sjtc 1081.1Sjtc* To handle places where more than two time zone abbreviations are used, 1091.1Sjtc the functions "localtime" and "gmtime" set tzname[tmp->tm_isdst] 1101.1Sjtc (where "tmp" is the value the function returns) to the time zone 1111.2Sperry abbreviation to be used. This differs from POSIX.1, where the elements 1121.1Sjtc of tzname are only changed as a result of calls to tzset. 1131.1Sjtc 1141.1Sjtc* Since the "TZ" environment variable can now be used to control time 1151.1Sjtc conversion, the "daylight" and "timezone" variables are no longer 1161.2Sperry needed. (These variables are defined and set by "tzset"; however, their 1171.1Sjtc values will not be used by "localtime.") 1181.1Sjtc 1191.1Sjtc* The "localtime" function has been set up to deliver correct results 1201.1Sjtc for near-minimum or near-maximum time_t values. (A comment in the 1211.1Sjtc source code tells how to get compatibly wrong results). 1221.1Sjtc 1231.1Sjtc* A function "tzsetwall" has been added to arrange for the system's 1241.1Sjtc best approximation to local wall clock time to be delivered by 1251.1Sjtc subsequent calls to "localtime." Source code for portable 1261.1Sjtc applications that "must" run on local wall clock time should call 1271.2Sperry "tzsetwall();" if such code is moved to "old" systems that don't 1281.2Sperry provide tzsetwall, you won't be able to generate an executable program. 1291.1Sjtc (These time zone functions also arrange for local wall clock time to be 1301.1Sjtc used if tzset is called--directly or indirectly--and there's no "TZ" 1311.1Sjtc environment variable; portable applications should not, however, rely 1321.1Sjtc on this behavior since it's not the way SVR2 systems behave.) 1331.1Sjtc 1341.2Sperry* These functions can account for leap seconds, thanks to Bradley White 1351.2Sperry (bww@k.cs.cmu.edu). 1361.1Sjtc 1371.2SperryPoints of interest to folks with other systems: 1381.2Sperry 1391.2Sperry* This package is already part of many POSIX-compliant hosts, 1401.2Sperry including BSD, HP, Linux, Network Appliance, SCO, SGI, and Sun. 1411.2Sperry On such hosts, the primary use of this package 1421.2Sperry is to update obsolete time zone rule tables. 1431.2Sperry To do this, you may need to compile the time zone compiler 1441.2Sperry `zic' supplied with this package instead of using the system `zic', 1451.2Sperry since the format of zic's input changed slightly in late 1994, 1461.2Sperry and many vendors still do not support the new input format. 1471.2Sperry 1481.7Skleink* The UNIX Version 7 "timezone" function is not present in this package; 1491.1Sjtc it's impossible to reliably map timezone's arguments (a "minutes west 1501.1Sjtc of GMT" value and a "daylight saving time in effect" flag) to a 1511.1Sjtc time zone abbreviation, and we refuse to guess. 1521.1Sjtc Programs that in the past used the timezone function may now examine 1531.1Sjtc tzname[localtime(&clock)->tm_isdst] to learn the correct time 1541.2Sperry zone abbreviation to use. Alternatively, use 1551.2Sperry localtime(&clock)->tm_zone if this has been enabled. 1561.2Sperry 1571.2Sperry* The 4.2BSD gettimeofday function is not used in this package. 1581.2Sperry This formerly let users obtain the current UTC offset and DST flag, 1591.2Sperry but this functionality was removed in later versions of BSD. 1601.1Sjtc 1611.2Sperry* In SVR2, time conversion fails for near-minimum or near-maximum 1621.3Sjtc time_t values when doing conversions for places that don't use UTC. 1631.2Sperry This package takes care to do these conversions correctly. 1641.2Sperry 1651.2SperryThe functions that are conditionally compiled if STD_INSPIRED is defined 1661.2Sperryshould, at this point, be looked on primarily as food for thought. They are 1671.2Sperrynot in any sense "standard compatible"--some are not, in fact, specified in 1681.2Sperry*any* standard. They do, however, represent responses of various authors to 1691.1Sjtcstandardization proposals. 1701.1Sjtc 1711.1SjtcOther time conversion proposals, in particular the one developed by folks at 1721.1SjtcHewlett Packard, offer a wider selection of functions that provide capabilities 1731.1Sjtcbeyond those provided here. The absence of such functions from this package 1741.1Sjtcis not meant to discourage the development, standardization, or use of such 1751.1Sjtcfunctions. Rather, their absence reflects the decision to make this package 1761.2Sperrycontain valid extensions to POSIX.1, to ensure its broad 1771.1Sjtcacceptability. If more powerful time conversion functions can be standardized, 1781.1Sjtcso much the better. 1791.2Sperry 1801.2Sperry 1811.2Sperry----- Names of time zone rule files ----- 1821.2Sperry 1831.6SkleinkThe time zone rule file naming conventions attempt to strike a balance 1841.6Skleinkamong the following goals: 1851.6Skleink 1861.6Skleink * Uniquely identify every national region where clocks have all 1871.6Skleink agreed since 1970. This is essential for the intended use: static 1881.6Skleink clocks keeping local civil time. 1891.6Skleink 1901.6Skleink * Indicate to humans as to where that region is. This simplifes use. 1911.6Skleink 1921.6Skleink * Be robust in the presence of political changes. This reduces the 1931.6Skleink number of updates and backward-compatibility hacks. For example, 1941.6Skleink names of countries are ordinarily not used, to avoid 1951.6Skleink incompatibilities when countries change their name 1961.6Skleink (e.g. Zaire->Congo) or when locations change countries 1971.6Skleink (e.g. Hong Kong from UK colony to China). 1981.6Skleink 1991.6Skleink * Be portable to a wide variety of implementations. 2001.6Skleink This promotes use of the technology. 2011.6Skleink 2021.6Skleink * Use a consistent naming convention over the entire world. 2031.6Skleink This simplifies both use and maintenance. 2041.6Skleink 2051.6SkleinkThis naming convention is not intended for use by inexperienced users 2061.6Skleinkto select TZ values by themselves (though they can of course examine 2071.6Skleinkand reuse existing settings). Distributors should provide 2081.6Skleinkdocumentation and/or a simple selection interface that explains the 2091.6Skleinknames; see the 'tzselect' program supplied with this distribution for 2101.6Skleinkone example. 2111.2Sperry 2121.2SperryNames normally have the form AREA/LOCATION, where AREA is the name 2131.2Sperryof a continent or ocean, and LOCATION is the name of a specific 2141.2Sperrylocation within that region. North and South America share the same 2151.2Sperryarea, `America'. Typical names are `Africa/Cairo', `America/New_York', 2161.2Sperryand `Pacific/Honolulu'. 2171.2Sperry 2181.2SperryHere are the general rules used for choosing location names, 2191.2Sperryin decreasing order of importance: 2201.2Sperry 2211.6Skleink Use only valid POSIX file name components (i.e., the parts of 2221.6Skleink names other than `/'). Within a file name component, 2231.6Skleink use only ASCII letters, `.', `-' and `_'. Do not use 2241.6Skleink digits, as that might create an ambiguity with POSIX 2251.6Skleink TZ strings. A file name component must not exceed 14 2261.6Skleink characters or start with `-'. E.g., prefer `Brunei' 2271.6Skleink to `Bandar_Seri_Begawan'. 2281.2Sperry Include at least one location per time zone rule set per country. 2291.5Skleink One such location is enough. Use ISO 3166 (see the file 2301.5Skleink iso3166.tab) to help decide whether something is a country. 2311.2Sperry If all the clocks in a country's region have agreed since 1970, 2321.2Sperry don't bother to include more than one location 2331.2Sperry even if subregions' clocks disagreed before 1970. 2341.2Sperry Otherwise these tables would become annoyingly large. 2351.2Sperry If a name is ambiguous, use a less ambiguous alternative; 2361.2Sperry e.g. many cities are named San Jose and Georgetown, so 2371.2Sperry prefer `Costa_Rica' to `San_Jose' and `Guyana' to `Georgetown'. 2381.2Sperry Keep locations compact. Use cities or small islands, not countries 2391.2Sperry or regions, so that any future time zone changes do not split 2401.2Sperry locations into different time zones. E.g. prefer `Paris' 2411.2Sperry to `France', since France has had multiple time zones. 2421.6Skleink Use mainstream English spelling, e.g. prefer `Rome' to `Roma', and 2431.2Sperry prefer `Athens' to the true name (which uses Greek letters). 2441.6Skleink The POSIX file name restrictions encourage this rule. 2451.2Sperry Use the most populous among locations in a country's time zone, 2461.2Sperry e.g. prefer `Shanghai' to `Beijing'. Among locations with 2471.2Sperry similar populations, pick the best-known location, 2481.2Sperry e.g. prefer `Rome' to `Milan'. 2491.2Sperry Use the singular form, e.g. prefer `Canary' to `Canaries'. 2501.2Sperry Omit common suffixes like `_Islands' and `_City', unless that 2511.2Sperry would lead to ambiguity. E.g. prefer `Cayman' to 2521.2Sperry `Cayman_Islands' and `Guatemala' to `Guatemala_City', 2531.2Sperry but prefer `Mexico_City' to `Mexico' because the country 2541.2Sperry of Mexico has several time zones. 2551.2Sperry Use `_' to represent a space. 2561.2Sperry Omit `.' from abbreviations in names, e.g. prefer `St_Helena' 2571.2Sperry to `St._Helena'. 2581.5Skleink Do not change established names if they only marginally 2591.5Skleink violate the above rules. For example, don't change 2601.5Skleink the existing name `Rome' to `Milan' merely because 2611.5Skleink Milan's population has grown to be somewhat greater 2621.5Skleink than Rome's. 2631.5Skleink If a name is changed, put its old spelling in the `backward' file. 2641.2Sperry 2651.2SperryThe file `zone.tab' lists the geographical locations used to name 2661.2Sperrytime zone rule files. 2671.2Sperry 2681.2SperryOlder versions of this package used a different naming scheme, 2691.2Sperryand these older names are still supported. 2701.5SkleinkSee the file `backward' for most of these older names 2711.2Sperry(e.g. `US/Eastern' instead of `America/New_York'). 2721.2SperryThe other old-fashioned names still supported are 2731.2Sperry`WET', `CET', `MET', `EET' (see the file `europe'), 2741.2Sperryand `Factory' (see the file `factory'). 2751.2Sperry 2761.2Sperry 2771.2Sperry----- Time zone abbreviations ----- 2781.2Sperry 2791.2SperryWhen this package is installed, it generates time zone abbreviations 2801.2Sperrylike `EST' to be compatible with human tradition and POSIX.1. 2811.2SperryHere are the general rules used for choosing time zone abbreviations, 2821.2Sperryin decreasing order of importance: 2831.2Sperry 2841.6Skleink Use abbreviations that consist of three or more ASCII letters. 2851.2Sperry Previous editions of this database also used characters like 2861.2Sperry ' ' and '?', but these characters have a special meaning to 2871.2Sperry the shell and cause commands like 2881.2Sperry set `date` 2891.6Skleink to have unexpected effects. 2901.6Skleink Previous editions of this rule required upper-case letters, 2911.6Skleink but the Congressman who introduced Chamorro Standard Time 2921.6Skleink preferred "ChST", so the rule has been relaxed. 2931.6Skleink 2941.6Skleink This rule guarantees that all abbreviations could have 2951.6Skleink been specified by a POSIX.1 TZ string. POSIX.1 2961.6Skleink requires at least three characters for an 2971.6Skleink abbreviation. POSIX.1-1996 says that an abbreviation 2981.6Skleink cannot start with ':', and cannot contain ',', '-', 2991.6Skleink '+', NUL, or a digit. Draft 7 of POSIX 1003.1-200x 3001.6Skleink changes this rule to say that an abbreviation can 3011.6Skleink contain only '-', '+', and alphanumeric characters in 3021.6Skleink the current locale. To be portable to both sets of 3031.6Skleink rules, an abbreviation must therefore use only ASCII 3041.6Skleink letters, as these are the only letters that are 3051.6Skleink alphabetic in all locales. 3061.6Skleink 3071.2Sperry Use abbreviations that are in common use among English-speakers, 3081.2Sperry e.g. `EST' for Eastern Standard Time in North America. 3091.2Sperry We assume that applications translate them to other languages 3101.2Sperry as part of the normal localization process; for example, 3111.2Sperry a French application might translate `EST' to `HNE'. 3121.6Skleink 3131.2Sperry For zones whose times are taken from a city's longitude, use the 3141.2Sperry traditional xMT notation, e.g. `PMT' for Paris Mean Time. 3151.2Sperry The only name like this in current use is `GMT'. 3161.6Skleink 3171.2Sperry If there is no common English abbreviation, abbreviate the English 3181.2Sperry translation of the usual phrase used by native speakers. 3191.2Sperry If this is not available or is a phrase mentioning the country 3201.2Sperry (e.g. ``Cape Verde Time''), then: 3211.2Sperry 3221.2Sperry When a country has a single or principal time zone region, 3231.2Sperry append `T' to the country's ISO code, e.g. `CVT' for 3241.2Sperry Cape Verde Time. For summer time append `ST'; 3251.2Sperry for double summer time append `DST'; etc. 3261.2Sperry When a country has multiple time zones, take the first three 3271.2Sperry letters of an English place name identifying each zone 3281.2Sperry and then append `T', `ST', etc. as before; 3291.2Sperry e.g. `VLAST' for VLAdivostok Summer Time. 3301.2Sperry 3311.6Skleink Use "zzz" for locations while uninhabited. The mnemonic is that 3321.6Skleink these locations are, in some sense, asleep. 3331.6Skleink 3341.2SperryApplication writers should note that these abbreviations are ambiguous 3351.2Sperryin practice: e.g. `EST' has a different meaning in Australia than 3361.2Sperryit does in the United States. In new applications, it's often better 3371.3Sjtcto use numeric UTC offsets like `-0500' instead of time zone 3381.2Sperryabbreviations like `EST'; this avoids the ambiguity. 3391.4Skleink 3401.4Skleink 3411.4Skleink----- Calendrical issues ----- 3421.4Skleink 3431.4SkleinkCalendrical issues are a bit out of scope for a time zone database, 3441.4Skleinkbut they indicate the sort of problems that we would run into if we 3451.4Skleinkextended the time zone database further into the past. An excellent 3461.4Skleinkresource in this area is Nachum Dershowitz and Edward M. Reingold, 3471.4Skleink<a href="http://emr.cs.uiuc.edu/home/reingold/calendar-book/index.shtml"> 3481.4SkleinkCalendrical Calculations 3491.4Skleink</a>, Cambridge University Press (1997). Other information and 3501.4Skleinksources are given below. They sometimes disagree. 3511.4Skleink 3521.4Skleink 3531.4SkleinkFrance 3541.4Skleink 3551.4SkleinkGregorian calendar adopted 1582-12-20. 3561.4SkleinkFrench Revolutionary calendar used 1793-11-24 through 1805-12-31, 3571.4Skleinkand (in Paris only) 1871-05-06 through 1871-05-23. 3581.4Skleink 3591.4Skleink 3601.4SkleinkRussia 3611.4Skleink 3621.4SkleinkFrom Chris Carrier <72157.3334@CompuServe.COM> (1996-12-02): 3631.4SkleinkOn 1929-10-01 the Soviet Union instituted an ``Eternal Calendar'' 3641.4Skleinkwith 30-day months plus 5 holidays, with a 5-day week. 3651.4SkleinkOn 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the 3661.4SkleinkGregorian calendar while retaining the 6-day week; on 1940-06-27 it 3671.4Skleinkreverted to the 7-day week. With the 6-day week the usual days 3681.4Skleinkoff were the 6th, 12th, 18th, 24th and 30th of the month. 3691.4Skleink(Source: Evitiar Zerubavel, _The Seven Day Circle_) 3701.4Skleink 3711.4Skleink 3721.4SkleinkMark Brader reported a similar story in "The Book of Calendars", edited 3731.4Skleinkby Frank Parise (1982, Facts on File, ISBN 0-8719-6467-8), page 377. But: 3741.4Skleink 3751.4SkleinkFrom: Petteri Sulonen (via Usenet) 3761.4SkleinkDate: 14 Jan 1999 00:00:00 GMT 3771.4SkleinkMessage-ID: <Petteri.Sulonen-1401991626030001@lapin-kulta.in.helsinki.fi> 3781.4Skleink 3791.4SkleinkIf your source is correct, how come documents between 1929 -- 1940 were 3801.4Skleinkstill dated using the conventional, Gregorian calendar? 3811.4Skleink 3821.4SkleinkI can post a scan of a document dated December 1, 1934, signed by 3831.4SkleinkYenukidze, the secretary, on behalf of Kalinin, the President of the 3841.4SkleinkExecutive Committee of the Supreme Soviet, if you like. 3851.4Skleink 3861.4Skleink 3871.4Skleink 3881.4SkleinkSweden (and Finland) 3891.4Skleink 3901.4SkleinkFrom: msb@sq.com (Mark Brader) 3911.4Skleink<a href="news:1996Jul6.012937.29190@sq.com"> 3921.4SkleinkSubject: Re: Gregorian reform -- a part of locale? 3931.4Skleink</a> 3941.4SkleinkDate: 1996-07-06 3951.4Skleink 3961.4SkleinkIn 1700, Denmark made the transition from Julian to Gregorian. Sweden 3971.4Skleinkdecided to *start* a transition in 1700 as well, but rather than have one of 3981.4Skleinkthose unsightly calendar gaps :-), they simply decreed that the next leap 3991.4Skleinkyear after 1696 would be in 1744 -- putting the whole country on a calendar 4001.4Skleinkdifferent from both Julian and Gregorian for a period of 40 years. 4011.4Skleink 4021.4SkleinkHowever, in 1704 something went wrong and the plan was not carried through; 4031.4Skleinkthey did, after all, have a leap year that year. And one in 1708. In 1712 4041.4Skleinkthey gave it up and went back to Julian, putting 30 days in February that 4051.4Skleinkyear!... 4061.4Skleink 4071.4SkleinkThen in 1753, Sweden made the transition to Gregorian in the usual manner, 4081.4Skleinkgetting there only 13 years behind the original schedule. 4091.4Skleink 4101.4Skleink(A previous posting of this story was challenged, and Swedish readers 4111.4Skleinkproduced the following references to support it: "Tiderakning och historia" 4121.4Skleinkby Natanael Beckman (1924) and "Tid, en bok om tiderakning och 4131.4Skleinkkalendervasen" by Lars-Olof Lode'n (no date was given).) 4141.4Skleink 4151.4Skleink 4161.4SkleinkGrotefend's data 4171.4Skleink 4181.4SkleinkFrom: "Michael Palmer" <mpalmer@netcom.com> [with one obvious typo fixed] 4191.4SkleinkSubject: Re: Gregorian Calendar (was Re: Another FHC related question 4201.4SkleinkNewsgroups: soc.genealogy.german 4211.4SkleinkDate: Tue, 9 Feb 1999 02:32:48 -800 4221.4SkleinkMessage-ID: <199902091032.CAA09644@netcom10.netcom.com> 4231.4Skleink 4241.6SkleinkThe following is a(n incomplete) listing, arranged chronologically, of 4251.6SkleinkEuropean states, with the date they converted from the Julian to the 4261.4SkleinkGregorian calendar: 4271.4Skleink 4281.4Skleink04/15 Oct 1582 - Italy (with exceptions), Spain, Portugal, Poland (Roman 4291.4Skleink Catholics and Danzig only) 4301.4Skleink09/20 Dec 1582 - France, Lorraine 4311.4Skleink 4321.4Skleink21 Dec 1582/ 4331.4Skleink 01 Jan 1583 - Holland, Brabant, Flanders, Hennegau 4341.4Skleink10/21 Feb 1583 - bishopric of Liege (L"uttich) 4351.4Skleink13/24 Feb 1583 - bishopric of Augsburg 4361.4Skleink04/15 Oct 1583 - electorate of Trier 4371.4Skleink05/16 Oct 1583 - Bavaria, bishoprics of Freising, Eichstedt, Regensburg, 4381.4Skleink Salzburg, Brixen 4391.4Skleink13/24 Oct 1583 - Austrian Oberelsass and Breisgau 4401.4Skleink20/31 Oct 1583 - bishopric of Basel 4411.4Skleink02/13 Nov 1583 - duchy of J"ulich-Berg 4421.4Skleink02/13 Nov 1583 - electorate and city of K"oln 4431.4Skleink04/15 Nov 1583 - bishopric of W"urzburg 4441.4Skleink11/22 Nov 1583 - electorate of Mainz 4451.4Skleink16/27 Nov 1583 - bishopric of Strassburg and the margraviate of Baden 4461.4Skleink17/28 Nov 1583 - bishopric of M"unster and duchy of Cleve 4471.4Skleink14/25 Dec 1583 - Steiermark 4481.4Skleink 4491.4Skleink06/17 Jan 1584 - Austria and Bohemia 4501.4Skleink11/22 Jan 1584 - Luzern, Uri, Schwyz, Zug, Freiburg, Solothurn 4511.4Skleink12/23 Jan 1584 - Silesia and the Lausitz 4521.4Skleink22 Jan/ 4531.4Skleink 02 Feb 1584 - Hungary (legally on 21 Oct 1587) 4541.4Skleink Jun 1584 - Unterwalden 4551.4Skleink01/12 Jul 1584 - duchy of Westfalen 4561.4Skleink 4571.4Skleink16/27 Jun 1585 - bishopric of Paderborn 4581.4Skleink 4591.4Skleink14/25 Dec 1590 - Transylvania 4601.4Skleink 4611.4Skleink22 Aug/ 4621.4Skleink 02 Sep 1612 - duchy of Prussia 4631.4Skleink 4641.4Skleink13/24 Dec 1614 - Pfalz-Neuburg 4651.4Skleink 4661.4Skleink 1617 - duchy of Kurland (reverted to the Julian calendar in 4671.4Skleink 1796) 4681.4Skleink 4691.4Skleink 1624 - bishopric of Osnabr"uck 4701.4Skleink 4711.4Skleink 1630 - bishopric of Minden 4721.4Skleink 4731.4Skleink15/26 Mar 1631 - bishopric of Hildesheim 4741.4Skleink 4751.4Skleink 1655 - Kanton Wallis 4761.4Skleink 4771.4Skleink05/16 Feb 1682 - city of Strassburg 4781.4Skleink 4791.4Skleink18 Feb/ 4801.4Skleink 01 Mar 1700 - Protestant Germany (including Swedish possessions in 4811.4Skleink Germany), Denmark, Norway 4821.4Skleink30 Jun/ 4831.4Skleink 12 Jul 1700 - Gelderland, Zutphen 4841.4Skleink10 Nov/ 4851.4Skleink 12 Dec 1700 - Utrecht, Overijssel 4861.4Skleink 4871.4Skleink31 Dec 1700/ 4881.4Skleink 12 Jan 1701 - Friesland, Groningen, Z"urich, Bern, Basel, Geneva, 4891.4Skleink Turgau, and Schaffhausen 4901.4Skleink 4911.4Skleink 1724 - Glarus, Appenzell, and the city of St. Gallen 4921.4Skleink 4931.4Skleink01 Jan 1750 - Pisa and Florence 4941.4Skleink 4951.4Skleink02/14 Sep 1752 - Great Britain 4961.4Skleink 4971.4Skleink17 Feb/ 4981.4Skleink 01 Mar 1753 - Sweden 4991.4Skleink 5001.4Skleink1760-1812 - Graub"unden 5011.4Skleink 5021.6SkleinkThe Russian empire (including Finland and the Baltic states) did not 5031.4Skleinkconvert to the Gregorian calendar until the Soviet revolution of 1917. 5041.4Skleink 5051.6SkleinkSource: H. Grotefend, _Taschenbuch der Zeitrechnung des deutschen 5061.6SkleinkMittelalters und der Neuzeit_, herausgegeben von Dr. O. Grotefend 5071.4Skleink(Hannover: Hahnsche Buchhandlung, 1941), pp. 26-28. 508