Supplementary Materials for Common Calendar
Total Page:16
File Type:pdf, Size:1020Kb
Supplementary Materials for Common Calendar Brooks Harris Version 5b 2017-01-25 Supplementary materials for Common Calendar Fixed-epoch Deterministic UTC Based Reference Local Timescales Brooks Harris Version 5b 2017-01-25 Contents Annex A IERS Leap Second History File Sample .................................................................2 Annex B TAI-UTC API History Array .....................................................................................3 Annex C Common Calendar Local Timescales.....................................................................4 C.1 Table - Common Calendar Local Timescales................................................................................... 4 C.2 Table - Local Timescales Mapping to Idealized Longitude............................................................... 6 Annex D c++ Listings ............................................................................................................8 D.1 Listing - TAI-UTC API, excerpts from TaiUtcApi.h........................................................................... 8 D.2 Listing - Tz Database API, excerpts from TzDatabaseApi.h ............................................................ 8 D.3 Listing - YMDhms API, excerpts from YMDhmsApi.h....................................................................... 9 D.4 Listing - Common Calendar Binary Format, excerpts from CBF.h ................................................. 10 Annex E CCTDemoConsole c++ Implementation ...............................................................12 E.1 Output Listing - Interesting Points Of Year 2015 TOD_LEAPSECOND_UTC_UTC Count Mode . 12 E.2 Output Listing – Interesting Points Of Year 2015 TOD_LEAPSECOND_MIDNIGHT Count Mode 14 Page 1 Annex A IERS Leap Second History File Sample The IERS makes the Leap Second History available as text files at: https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat https://hpiers.obspm.fr/eoppc/bul/bulc/Leap_Second_History.dat Sample retrieved 2016-07-26: # Value of TAI-UTC in second valid beetween the initial value until # the epoch given on the next line. The last line reads that NO # leap second was introduced since the corresponding date # Updated through IERS Bulletin C52 issued in July 2016 # # # File expires on 28 June 2017 # # # MJD Date TAI-UTC (s) # day month year # --- -------------- ------ # 41317.0 1 1 1972 10 41499.0 1 7 1972 11 41683.0 1 1 1973 12 42048.0 1 1 1974 13 42413.0 1 1 1975 14 42778.0 1 1 1976 15 43144.0 1 1 1977 16 43509.0 1 1 1978 17 43874.0 1 1 1979 18 44239.0 1 1 1980 19 44786.0 1 7 1981 20 45151.0 1 7 1982 21 45516.0 1 7 1983 22 46247.0 1 7 1985 23 47161.0 1 1 1988 24 47892.0 1 1 1990 25 48257.0 1 1 1991 26 48804.0 1 7 1992 27 49169.0 1 7 1993 28 49534.0 1 7 1994 29 50083.0 1 1 1996 30 50630.0 1 7 1997 31 51179.0 1 1 1999 32 53736.0 1 1 2006 33 54832.0 1 1 2009 34 56109.0 1 7 2012 35 57204.0 1 7 2015 36 57754.0 1 1 2017 37 Page 2 Annex B TAI-UTC API History Array Table TAI-UTC API History Array shows the values in effect on the date of this document’s publication including the EXPIRATION entry in the last position. Table TAI-UTC API History Array TAI-UTC API Comments Day TAI-UTC TAI UTC MJD Number 0 10 1972-01-01 00:00:10;00 (TAI) 1972-01-01T00:00:00;00 (UTC) 41317 182 11 1972-07-01 00:00:11;00 (TAI) 1972-07-01T00:00:00;00 (UTC) 41499 366 12 1973-01-01 00:00:12;00 (TAI) 1973-01-01T00:00:00;00 (UTC) 41683 731 13 1974-01-01 00:00:13;00 (TAI) 1974-01-01T00:00:00;00 (UTC) 42048 1096 14 1975-01-01 00:00:14;00 (TAI) 1975-01-01T00:00:00;00 (UTC) 42413 1461 15 1976-01-01 00:00:15;00 (TAI) 1976-01-01T00:00:00;00 (UTC) 42778 1827 16 1977-01-01 00:00:16;00 (TAI) 1977-01-01T00:00:00;00 (UTC) 43144 2192 17 1978-01-01 00:00:17;00 (TAI) 1978-01-01T00:00:00;00 (UTC) 43509 2557 18 1979-01-01 00:00:18;00 (TAI) 1979-01-01T00:00:00;00 (UTC) 43874 2922 19 1980-01-01 00:00:19;00 (TAI) 1980-01-01T00:00:00;00 (UTC) 44239 3469 20 1981-07-01 00:00:20;00 (TAI) 1981-07-01T00:00:00;00 (UTC) 44786 3834 21 1982-07-01 00:00:21;00 (TAI) 1982-07-01T00:00:00;00 (UTC) 45151 4199 22 1983-07-01 00:00:22;00 (TAI) 1983-07-01T00:00:00;00 (UTC) 45516 4930 23 1985-07-01 00:00:23;00 (TAI) 1985-07-01T00:00:00;00 (UTC) 46247 5844 24 1988-01-01 00:00:24;00 (TAI) 1988-01-01T00:00:00;00 (UTC) 47161 6575 25 1990-01-01 00:00:25;00 (TAI) 1990-01-01T00:00:00;00 (UTC) 47892 6940 26 1991-01-01 00:00:26;00 (TAI) 1991-01-01T00:00:00;00 (UTC) 48257 7487 27 1992-07-01 00:00:27;00 (TAI) 1992-07-01T00:00:00;00 (UTC) 48804 7852 28 1993-07-01 00:00:28;00 (TAI) 1993-07-01T00:00:00;00 (UTC) 49169 8217 29 1994-07-01 00:00:29;00 (TAI) 1994-07-01T00:00:00;00 (UTC) 49534 8766 30 1996-01-01 00:00:30;00 (TAI) 1996-01-01T00:00:00;00 (UTC) 50083 9313 31 1997-07-01 00:00:31;00 (TAI) 1997-07-01T00:00:00;00 (UTC) 50630 9862 32 1999-01-01 00:00:32;00 (TAI) 1999-01-01T00:00:00;00 (UTC) 51179 12419 33 2006-01-01 00:00:33;00 (TAI) 2006-01-01T00:00:00;00 (UTC) 53736 13515 34 2009-01-01 00:00:34;00 (TAI) 2009-01-01T00:00:00;00 (UTC) 54832 14792 35 2012-07-01 00:00:35;00 (TAI) 2012-07-01T00:00:00;00 (UTC) 56109 15887 36 2015-07-01 00:00:36;00 (TAI) 2015-07-01T00:00:00;00 (UTC) 57204 16437 37 2017-01-01 00:00:37;00 (TAI) 2017-01-01T00:00:00;00 (UTC) 57754 16615 37 2016-06-01 00:00:36;00 (TAI) 2016-06-01T00:00:00;00 (UTC) 57932 Page 3 Annex C Common Calendar Local Timescales C.1 Table - Common Calendar Local Timescales Common Calendar Local Timescales 0-104 (105) covering existing time zones: 12 negative signed, 1 for -00:00 at UTC, 12 positive signed, plus 2 positive signed for +13:00 (Pacific/Tongatapu) and +14:00 (Pacific/Kiritimati). Column Key: Index – index number, 0-104 (105 entries), for simple a priori enumerated reference Name – defined fixed length 10-character name, each indicating its offset from UTC UUID – Universally Unique Identifier (RFC 4122) for unique id of each entry UTCT Offset Hours – Offset from UTCT in hours UTCT Offset Seconds – Offset from UTCT in seconds UTCT UTCT Local Timescale Index Local Timescale UUID Identifier Offset Offset Name Hours Seconds 0 UTCT-12:00 {3E5C2389-9BD7-440C-BE24-2FA8BD8D61B4} -12.00 -43200 1 UTCT-11:45 {E4A95A29-AF5D-4531-8420-99C8BF6D8529} -11.75 -42300 2 UTCT-11:30 {66B613FC-A571-42FA-9B45-033EF952E409} -11.50 -41400 3 UTCT-11:15 {6C9F3EE4-63D3-47F4-A6FC-2C16B81D56FC} -11.25 -40500 4 UTCT-11:00 {6E5C598E-EC6B-4C85-9A51-3237D5904B24} -11.00 -39600 5 UTCT-10:45 {7C7ACC7A-48B2-4752-9ED0-3B5B7A229208} -10.75 -38700 6 UTCT-10:30 {D6884AEB-01DE-4DBC-99FB-2D9F071CDA5B} -10.50 -37800 7 UTCT-10:15 {2BD17A97-0F5B-4B22-886C-208950A3F916} -10.25 -36900 8 UTCT-10:00 {56F6302E-E97A-4713-AD19-BC8526642791} -10.00 -36000 9 UTCT-09:45 {D603EA13-D709-4BB6-A890-A63B7D7013A0} -9.75 -35100 10 UTCT-09:30 {78EF41E2-5A50-44AE-82E3-E47CFBDB1CD7} -9.50 -34200 11 UTCT-09:15 {20597A0D-BAC7-4363-AB3A-133A24561656} -9.25 -33300 12 UTCT-09:00 {62CF62FF-B73E-4FEA-A692-8EE92B3D8D45} -9.00 -32400 13 UTCT-08:45 {544649F7-CDE1-45F2-A72C-F9BE6EE5F648} -8.75 -31500 14 UTCT-08:30 {D31346B3-AE52-49F7-89E2-C7D2D51EA73A} -8.50 -30600 15 UTCT-08:15 {030883AF-910E-46EE-BACA-82CEB5D072BE} -8.25 -29700 16 UTCT-08:00 {00812176-842A-4350-9C39-1D921F2F9BF6} -8.00 -28800 17 UTCT-07:45 {2E09DCD6-B204-4DB5-B510-30E382C5F4D5} -7.75 -27900 18 UTCT-07:30 {227F1F99-A60C-4C6E-8DC0-EE436AB71A3A} -7.50 -27000 19 UTCT-07:15 {3176DDF3-BBF3-4CE6-9C59-E368EAC7D716} -7.25 -26100 20 UTCT-07:00 {18A4BA26-6F4F-4760-BB0D-19DF6DB3E1BE} -7.00 -25200 21 UTCT-06:45 {CE452410-7A3C-4317-90FD-4DA4FFE2B82B} -6.75 -24300 22 UTCT-06:30 {84FA7859-39F1-4A55-88C9-4AF4EBDE7CD3} -6.50 -23400 23 UTCT-06:15 {DBF15C30-4F45-4451-8BCA-2AF32B2C1F1B} -6.25 -22500 24 UTCT-06:00 {9CA40B1B-49CB-44D3-8BEC-C40507558C88} -6.00 -21600 25 UTCT-05:45 {0D6305B9-8D79-4D90-9FEA-C6674821FBE6} -5.75 -20700 26 UTCT-05:30 {4B157D77-5C22-4E73-8525-F29EB708B89C} -5.50 -19800 27 UTCT-05:15 {6052173F-7DBC-4264-88F1-341EC5378B07} -5.25 -18900 28 UTCT-05:00 {2F974276-A14B-4BFE-A4AB-77D83A5095B2} -5.00 -18000 29 UTCT-04:45 {16CC41D4-B43A-441B-9CE4-B9CF4C0066E4} -4.75 -17100 30 UTCT-04:30 {23BC1883-6384-4406-8AA6-05C7BDE70BE6} -4.50 -16200 31 UTCT-04:15 {BB7A4437-094A-4792-B45D-D3718427260F} -4.25 -15300 32 UTCT-04:00 {2C05B209-DBFA-4033-ADED-C02D2344D067} -4.00 -14400 33 UTCT-03:45 {58861950-521C-448B-BC4B-B9ADA5D023E7} -3.75 -13500 34 UTCT-03:30 {3AA60372-DAA9-4DB4-8396-2124A803974C} -3.50 -12600 35 UTCT-03:15 {1213E713-26E6-47BF-9AFC-ED663ADD9E8C} -3.25 -11700 36 UTCT-03:00 {10B9FC17-FCE2-401B-A47B-DA7B97C54FCF} -3.00 -10800 37 UTCT-02:45 {178468A0-4AB7-48B6-916E-DA7DA43C8D5D} -2.75 -9900 38 UTCT-02:30 {B0718A17-A053-490C-A546-9051211AFEE2} -2.50 -9000 39 UTCT-02:15 {729780B9-38C7-4EDD-B0F2-15FABD050586} -2.25 -8100 40 UTCT-02:00 {B462BB24-5978-4665-9787-44D4D040A3D4} -2.00 -7200 41 UTCT-01:45 {8B5B6E4C-1B86-4181-AF2F-AC34331BC68B} -1.75 -6300 42 UTCT-01:30 {687B106A-6ADF-4383-8A87-9775E750CA24} -1.50 -5400 43 UTCT-01:15 {6D54D1BC-2ECA-4408-A8A5-947994B6CBB9} -1.25 -4500 44 UTCT-01:00 {018455B3-B94C-4D7A-A178-7587AA353C21} -1.00 -3600 45 UTCT-00:45 {46C3F6A3-F676-42A6-ACFC-669D8F0F8CEF} -0.75 -2700 Page 4 46 UTCT-00:30 {D4F6CE81-B1E8-467F-9DCB-2F6F0C14ED38} -0.50 -1800 47 UTCT-00:15 {DF7CBE21-E03A-4EA3-9D73-BFA18135B000} -0.25 -900 48 UTCT-00:00 {57C5EA42-EC31-47FD-A92E-F15E71DCD40A} 0.00 0 49 UTCT+00:15 {8EFA5F27-8B29-45FE-A318-A6BEED4CBB80} 0.25 900 50 UTCT+00:30 {8E71E6AB-A357-492D-94EA-67FA2046ACDD} 0.50 1800 51 UTCT+00:45 {6DC4213E-9193-4ECF-9EE0-58812E0C5FC9} 0.75 2700 52 UTCT+01:00 {C597A231-8705-47CF-A6FB-1EB81A3A82F1} 1.00 3600 53 UTCT+01:15 {AA1BFD40-2ED1-4A0D-98AC-330425FFF90C} 1.25 4500 54