Theory revision 1.5
11.5Skleink# $NetBSD: Theory,v 1.5 2000/12/12 15:25:41 kleink Exp $ 21.5Skleink@(#)Theory 7.11 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.2Sperryan 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.2Sperry 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.2Sperry* 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.2SperryThe names of this package's installed time zone rule files are chosen to 1841.2Sperryhelp minimize possible future incompatibilities due to political events. 1851.2SperryOrdinarily, names of countries are not used, to avoid incompatibilities 1861.2Sperrywhen countries change their name (e.g. Zaire->Congo) or 1871.2Sperrywhen locations change countries (e.g. Hong Kong from UK colony to China). 1881.2Sperry 1891.2SperryNames normally have the form AREA/LOCATION, where AREA is the name 1901.2Sperryof a continent or ocean, and LOCATION is the name of a specific 1911.2Sperrylocation within that region. North and South America share the same 1921.2Sperryarea, `America'. Typical names are `Africa/Cairo', `America/New_York', 1931.2Sperryand `Pacific/Honolulu'. 1941.2Sperry 1951.2SperryHere are the general rules used for choosing location names, 1961.2Sperryin decreasing order of importance: 1971.2Sperry 1981.2Sperry Use only valid Posix file names. Use only Ascii letters, digits, `.', 1991.2Sperry `-' and `_'. Do not exceed 14 characters or start with `-'. 2001.2Sperry E.g. prefer `Brunei' to `Bandar_Seri_Begawan'. 2011.2Sperry Include at least one location per time zone rule set per country. 2021.5Skleink One such location is enough. Use ISO 3166 (see the file 2031.5Skleink iso3166.tab) to help decide whether something is a country. 2041.2Sperry If all the clocks in a country's region have agreed since 1970, 2051.2Sperry don't bother to include more than one location 2061.2Sperry even if subregions' clocks disagreed before 1970. 2071.2Sperry Otherwise these tables would become annoyingly large. 2081.2Sperry If a name is ambiguous, use a less ambiguous alternative; 2091.2Sperry e.g. many cities are named San Jose and Georgetown, so 2101.2Sperry prefer `Costa_Rica' to `San_Jose' and `Guyana' to `Georgetown'. 2111.2Sperry Keep locations compact. Use cities or small islands, not countries 2121.2Sperry or regions, so that any future time zone changes do not split 2131.2Sperry locations into different time zones. E.g. prefer `Paris' 2141.2Sperry to `France', since France has had multiple time zones. 2151.2Sperry Use traditional English spelling, e.g. prefer `Rome' to `Roma', and 2161.2Sperry prefer `Athens' to the true name (which uses Greek letters). 2171.2Sperry The Posix file name restrictions encourage this rule. 2181.2Sperry Use the most populous among locations in a country's time zone, 2191.2Sperry e.g. prefer `Shanghai' to `Beijing'. Among locations with 2201.2Sperry similar populations, pick the best-known location, 2211.2Sperry e.g. prefer `Rome' to `Milan'. 2221.2Sperry Use the singular form, e.g. prefer `Canary' to `Canaries'. 2231.2Sperry Omit common suffixes like `_Islands' and `_City', unless that 2241.2Sperry would lead to ambiguity. E.g. prefer `Cayman' to 2251.2Sperry `Cayman_Islands' and `Guatemala' to `Guatemala_City', 2261.2Sperry but prefer `Mexico_City' to `Mexico' because the country 2271.2Sperry of Mexico has several time zones. 2281.2Sperry Use `_' to represent a space. 2291.2Sperry Omit `.' from abbreviations in names, e.g. prefer `St_Helena' 2301.2Sperry to `St._Helena'. 2311.5Skleink Do not change established names if they only marginally 2321.5Skleink violate the above rules. For example, don't change 2331.5Skleink the existing name `Rome' to `Milan' merely because 2341.5Skleink Milan's population has grown to be somewhat greater 2351.5Skleink than Rome's. 2361.5Skleink If a name is changed, put its old spelling in the `backward' file. 2371.2Sperry 2381.2SperryThe file `zone.tab' lists the geographical locations used to name 2391.2Sperrytime zone rule files. 2401.2Sperry 2411.2SperryOlder versions of this package used a different naming scheme, 2421.2Sperryand these older names are still supported. 2431.5SkleinkSee the file `backward' for most of these older names 2441.2Sperry(e.g. `US/Eastern' instead of `America/New_York'). 2451.2SperryThe other old-fashioned names still supported are 2461.2Sperry`WET', `CET', `MET', `EET' (see the file `europe'), 2471.2Sperryand `Factory' (see the file `factory'). 2481.2Sperry 2491.2Sperry 2501.2Sperry----- Time zone abbreviations ----- 2511.2Sperry 2521.2SperryWhen this package is installed, it generates time zone abbreviations 2531.2Sperrylike `EST' to be compatible with human tradition and POSIX.1. 2541.2SperryHere are the general rules used for choosing time zone abbreviations, 2551.2Sperryin decreasing order of importance: 2561.2Sperry 2571.2Sperry Use abbreviations that consist of 3 or more upper-case Ascii letters, 2581.2Sperry except use "___" for locations while uninhabited. 2591.2Sperry Posix.1 requires at least 3 characters, and the restriction to 2601.2Sperry upper-case Ascii letters follows most traditions. 2611.2Sperry Previous editions of this database also used characters like 2621.2Sperry ' ' and '?', but these characters have a special meaning to 2631.2Sperry the shell and cause commands like 2641.2Sperry set `date` 2651.2Sperry to have unexpected effects. In theory, the character set could 2661.2Sperry be !%./@A-Z^_a-z{}, but these tables use only upper-case 2671.2Sperry Ascii letters (and "___"). 2681.2Sperry Use abbreviations that are in common use among English-speakers, 2691.2Sperry e.g. `EST' for Eastern Standard Time in North America. 2701.2Sperry We assume that applications translate them to other languages 2711.2Sperry as part of the normal localization process; for example, 2721.2Sperry a French application might translate `EST' to `HNE'. 2731.2Sperry For zones whose times are taken from a city's longitude, use the 2741.2Sperry traditional xMT notation, e.g. `PMT' for Paris Mean Time. 2751.2Sperry The only name like this in current use is `GMT'. 2761.2Sperry If there is no common English abbreviation, abbreviate the English 2771.2Sperry translation of the usual phrase used by native speakers. 2781.2Sperry If this is not available or is a phrase mentioning the country 2791.2Sperry (e.g. ``Cape Verde Time''), then: 2801.2Sperry 2811.2Sperry When a country has a single or principal time zone region, 2821.2Sperry append `T' to the country's ISO code, e.g. `CVT' for 2831.2Sperry Cape Verde Time. For summer time append `ST'; 2841.2Sperry for double summer time append `DST'; etc. 2851.2Sperry When a country has multiple time zones, take the first three 2861.2Sperry letters of an English place name identifying each zone 2871.2Sperry and then append `T', `ST', etc. as before; 2881.2Sperry e.g. `VLAST' for VLAdivostok Summer Time. 2891.2Sperry 2901.2SperryApplication writers should note that these abbreviations are ambiguous 2911.2Sperryin practice: e.g. `EST' has a different meaning in Australia than 2921.2Sperryit does in the United States. In new applications, it's often better 2931.3Sjtcto use numeric UTC offsets like `-0500' instead of time zone 2941.2Sperryabbreviations like `EST'; this avoids the ambiguity. 2951.4Skleink 2961.4Skleink 2971.4Skleink----- Calendrical issues ----- 2981.4Skleink 2991.4SkleinkCalendrical issues are a bit out of scope for a time zone database, 3001.4Skleinkbut they indicate the sort of problems that we would run into if we 3011.4Skleinkextended the time zone database further into the past. An excellent 3021.4Skleinkresource in this area is Nachum Dershowitz and Edward M. Reingold, 3031.4Skleink<a href="http://emr.cs.uiuc.edu/home/reingold/calendar-book/index.shtml"> 3041.4SkleinkCalendrical Calculations 3051.4Skleink</a>, Cambridge University Press (1997). Other information and 3061.4Skleinksources are given below. They sometimes disagree. 3071.4Skleink 3081.4Skleink 3091.4SkleinkFrance 3101.4Skleink 3111.4SkleinkGregorian calendar adopted 1582-12-20. 3121.4SkleinkFrench Revolutionary calendar used 1793-11-24 through 1805-12-31, 3131.4Skleinkand (in Paris only) 1871-05-06 through 1871-05-23. 3141.4Skleink 3151.4Skleink 3161.4SkleinkRussia 3171.4Skleink 3181.4SkleinkFrom Chris Carrier <72157.3334@CompuServe.COM> (1996-12-02): 3191.4SkleinkOn 1929-10-01 the Soviet Union instituted an ``Eternal Calendar'' 3201.4Skleinkwith 30-day months plus 5 holidays, with a 5-day week. 3211.4SkleinkOn 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the 3221.4SkleinkGregorian calendar while retaining the 6-day week; on 1940-06-27 it 3231.4Skleinkreverted to the 7-day week. With the 6-day week the usual days 3241.4Skleinkoff were the 6th, 12th, 18th, 24th and 30th of the month. 3251.4Skleink(Source: Evitiar Zerubavel, _The Seven Day Circle_) 3261.4Skleink 3271.4Skleink 3281.4SkleinkMark Brader reported a similar story in "The Book of Calendars", edited 3291.4Skleinkby Frank Parise (1982, Facts on File, ISBN 0-8719-6467-8), page 377. But: 3301.4Skleink 3311.4SkleinkFrom: Petteri Sulonen (via Usenet) 3321.4SkleinkDate: 14 Jan 1999 00:00:00 GMT 3331.4SkleinkMessage-ID: <Petteri.Sulonen-1401991626030001@lapin-kulta.in.helsinki.fi> 3341.4Skleink 3351.4SkleinkIf your source is correct, how come documents between 1929 -- 1940 were 3361.4Skleinkstill dated using the conventional, Gregorian calendar? 3371.4Skleink 3381.4SkleinkI can post a scan of a document dated December 1, 1934, signed by 3391.4SkleinkYenukidze, the secretary, on behalf of Kalinin, the President of the 3401.4SkleinkExecutive Committee of the Supreme Soviet, if you like. 3411.4Skleink 3421.4Skleink 3431.4Skleink 3441.4SkleinkSweden (and Finland) 3451.4Skleink 3461.4SkleinkFrom: msb@sq.com (Mark Brader) 3471.4Skleink<a href="news:1996Jul6.012937.29190@sq.com"> 3481.4SkleinkSubject: Re: Gregorian reform -- a part of locale? 3491.4Skleink</a> 3501.4SkleinkDate: 1996-07-06 3511.4Skleink 3521.4SkleinkIn 1700, Denmark made the transition from Julian to Gregorian. Sweden 3531.4Skleinkdecided to *start* a transition in 1700 as well, but rather than have one of 3541.4Skleinkthose unsightly calendar gaps :-), they simply decreed that the next leap 3551.4Skleinkyear after 1696 would be in 1744 -- putting the whole country on a calendar 3561.4Skleinkdifferent from both Julian and Gregorian for a period of 40 years. 3571.4Skleink 3581.4SkleinkHowever, in 1704 something went wrong and the plan was not carried through; 3591.4Skleinkthey did, after all, have a leap year that year. And one in 1708. In 1712 3601.4Skleinkthey gave it up and went back to Julian, putting 30 days in February that 3611.4Skleinkyear!... 3621.4Skleink 3631.4SkleinkThen in 1753, Sweden made the transition to Gregorian in the usual manner, 3641.4Skleinkgetting there only 13 years behind the original schedule. 3651.4Skleink 3661.4Skleink(A previous posting of this story was challenged, and Swedish readers 3671.4Skleinkproduced the following references to support it: "Tiderakning och historia" 3681.4Skleinkby Natanael Beckman (1924) and "Tid, en bok om tiderakning och 3691.4Skleinkkalendervasen" by Lars-Olof Lode'n (no date was given).) 3701.4Skleink 3711.4Skleink 3721.4SkleinkGrotefend's data 3731.4Skleink 3741.4SkleinkFrom: "Michael Palmer" <mpalmer@netcom.com> [with one obvious typo fixed] 3751.4SkleinkSubject: Re: Gregorian Calendar (was Re: Another FHC related question 3761.4SkleinkNewsgroups: soc.genealogy.german 3771.4SkleinkDate: Tue, 9 Feb 1999 02:32:48 -800 3781.4SkleinkMessage-ID: <199902091032.CAA09644@netcom10.netcom.com> 3791.4Skleink 3801.4SkleinkThe following is a(n incomplete) listing, arranged chronologically, of 3811.4SkleinkEuropean states, with the date they converted from the Julian to the 3821.4SkleinkGregorian calendar: 3831.4Skleink 3841.4Skleink04/15 Oct 1582 - Italy (with exceptions), Spain, Portugal, Poland (Roman 3851.4Skleink Catholics and Danzig only) 3861.4Skleink09/20 Dec 1582 - France, Lorraine 3871.4Skleink 3881.4Skleink21 Dec 1582/ 3891.4Skleink 01 Jan 1583 - Holland, Brabant, Flanders, Hennegau 3901.4Skleink10/21 Feb 1583 - bishopric of Liege (L"uttich) 3911.4Skleink13/24 Feb 1583 - bishopric of Augsburg 3921.4Skleink04/15 Oct 1583 - electorate of Trier 3931.4Skleink05/16 Oct 1583 - Bavaria, bishoprics of Freising, Eichstedt, Regensburg, 3941.4Skleink Salzburg, Brixen 3951.4Skleink13/24 Oct 1583 - Austrian Oberelsass and Breisgau 3961.4Skleink20/31 Oct 1583 - bishopric of Basel 3971.4Skleink02/13 Nov 1583 - duchy of J"ulich-Berg 3981.4Skleink02/13 Nov 1583 - electorate and city of K"oln 3991.4Skleink04/15 Nov 1583 - bishopric of W"urzburg 4001.4Skleink11/22 Nov 1583 - electorate of Mainz 4011.4Skleink16/27 Nov 1583 - bishopric of Strassburg and the margraviate of Baden 4021.4Skleink17/28 Nov 1583 - bishopric of M"unster and duchy of Cleve 4031.4Skleink14/25 Dec 1583 - Steiermark 4041.4Skleink 4051.4Skleink06/17 Jan 1584 - Austria and Bohemia 4061.4Skleink11/22 Jan 1584 - Luzern, Uri, Schwyz, Zug, Freiburg, Solothurn 4071.4Skleink12/23 Jan 1584 - Silesia and the Lausitz 4081.4Skleink22 Jan/ 4091.4Skleink 02 Feb 1584 - Hungary (legally on 21 Oct 1587) 4101.4Skleink Jun 1584 - Unterwalden 4111.4Skleink01/12 Jul 1584 - duchy of Westfalen 4121.4Skleink 4131.4Skleink16/27 Jun 1585 - bishopric of Paderborn 4141.4Skleink 4151.4Skleink14/25 Dec 1590 - Transylvania 4161.4Skleink 4171.4Skleink22 Aug/ 4181.4Skleink 02 Sep 1612 - duchy of Prussia 4191.4Skleink 4201.4Skleink13/24 Dec 1614 - Pfalz-Neuburg 4211.4Skleink 4221.4Skleink 1617 - duchy of Kurland (reverted to the Julian calendar in 4231.4Skleink 1796) 4241.4Skleink 4251.4Skleink 1624 - bishopric of Osnabr"uck 4261.4Skleink 4271.4Skleink 1630 - bishopric of Minden 4281.4Skleink 4291.4Skleink15/26 Mar 1631 - bishopric of Hildesheim 4301.4Skleink 4311.4Skleink 1655 - Kanton Wallis 4321.4Skleink 4331.4Skleink05/16 Feb 1682 - city of Strassburg 4341.4Skleink 4351.4Skleink18 Feb/ 4361.4Skleink 01 Mar 1700 - Protestant Germany (including Swedish possessions in 4371.4Skleink Germany), Denmark, Norway 4381.4Skleink30 Jun/ 4391.4Skleink 12 Jul 1700 - Gelderland, Zutphen 4401.4Skleink10 Nov/ 4411.4Skleink 12 Dec 1700 - Utrecht, Overijssel 4421.4Skleink 4431.4Skleink31 Dec 1700/ 4441.4Skleink 12 Jan 1701 - Friesland, Groningen, Z"urich, Bern, Basel, Geneva, 4451.4Skleink Turgau, and Schaffhausen 4461.4Skleink 4471.4Skleink 1724 - Glarus, Appenzell, and the city of St. Gallen 4481.4Skleink 4491.4Skleink01 Jan 1750 - Pisa and Florence 4501.4Skleink 4511.4Skleink02/14 Sep 1752 - Great Britain 4521.4Skleink 4531.4Skleink17 Feb/ 4541.4Skleink 01 Mar 1753 - Sweden 4551.4Skleink 4561.4Skleink1760-1812 - Graub"unden 4571.4Skleink 4581.4SkleinkThe Russian empire (including Finland and the Baltic states) did not 4591.4Skleinkconvert to the Gregorian calendar until the Soviet revolution of 1917. 4601.4Skleink 4611.4SkleinkSource: H. Grotefend, _Taschenbuch der Zeitrechnung des deutschen 4621.4SkleinkMittelalters und der Neuzeit_, herausgegeben von Dr. O. Grotefend 4631.4Skleink(Hannover: Hahnsche Buchhandlung, 1941), pp. 26-28. 464