1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133
|
<pre>Internet Engineering Task Force (IETF) M. Douglass
Request for Comments: 7808 Spherical Cow Group
Category: Standards Track C. Daboo
ISSN: 2070-1721 Apple
March 2016
<span class="h1">Time Zone Data Distribution Service</span>
Abstract
This document defines a time zone data distribution service that
allows reliable, secure, and fast delivery of time zone data and
leap-second rules to client systems such as calendaring and
scheduling applications or operating systems.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7808">http://www.rfc-editor.org/info/rfc7808</a>.
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Douglass & Daboo Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Conventions . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-2">2</a>. Architectural Overview . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-3">3</a>. General Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.1">3.1</a>. Time Zone . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.2">3.2</a>. Time Zone Data . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.3">3.3</a>. Time Zone Metadata . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.4">3.4</a>. Time Zone Data Server . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.5">3.5</a>. Observance . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.6">3.6</a>. Time Zone Identifiers . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.7">3.7</a>. Time Zone Aliases . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-3.8">3.8</a>. Time Zone Localized Names . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-3.9">3.9</a>. Truncating Time Zones . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-3.10">3.10</a>. Time Zone Versions . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-4">4</a>. Time Zone Data Distribution Service Protocol . . . . . . . . <a href="#page-10">10</a>
<a href="#section-4.1">4.1</a>. Server Protocol . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-4.1.1">4.1.1</a>. Time Zone Queries . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-4.1.2">4.1.2</a>. Time Zone Formats . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-4.1.3">4.1.3</a>. Time Zone Localization . . . . . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-4.1.4">4.1.4</a>. Conditional Time Zone Requests . . . . . . . . . . . <a href="#page-12">12</a>
<a href="#section-4.1.5">4.1.5</a>. Expanded Time Zone Data . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-4.1.6">4.1.6</a>. Server Requirements . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-4.1.7">4.1.7</a>. Error Responses . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-4.1.8">4.1.8</a>. Extensions . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-4.2">4.2</a>. Client Guidelines . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-4.2.1">4.2.1</a>. Discovery . . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
4.2.1.1. SRV Service Labels for the Time Zone Data
Distribution Service . . . . . . . . . . . . . . <a href="#page-15">15</a>
4.2.1.2. TXT Records for a Time Zone Data Distribution
Service . . . . . . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
4.2.1.3. Well-Known URI for a Time Zone Data Distribution
Service . . . . . . . . . . . . . . . . . . . . . <a href="#page-16">16</a>
4.2.1.3.1. Example: Well-Known URI Redirects to Actual
Context Path . . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-4.2.2">4.2.2</a>. Synchronization of Time Zones . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-4.2.2.1">4.2.2.1</a>. Initial Synchronization of All Time Zones . . . . <a href="#page-17">17</a>
<a href="#section-4.2.2.2">4.2.2.2</a>. Subsequent Synchronization of All Time Zones . . <a href="#page-17">17</a>
4.2.2.3. Synchronization with Preexisting Time Zone Data . 18
<a href="#section-5">5</a>. Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-5.1">5.1</a>. "capabilities" Action . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-5.1.1">5.1.1</a>. Example: get capabilities . . . . . . . . . . . . . . <a href="#page-19">19</a>
<a href="#section-5.2">5.2</a>. "list" Action . . . . . . . . . . . . . . . . . . . . . . <a href="#page-21">21</a>
<a href="#section-5.2.1">5.2.1</a>. Example: List Time Zone Identifiers . . . . . . . . . <a href="#page-22">22</a>
<a href="#section-5.3">5.3</a>. "get" Action . . . . . . . . . . . . . . . . . . . . . . <a href="#page-23">23</a>
<a href="#section-5.3.1">5.3.1</a>. Example: Get Time Zone Data . . . . . . . . . . . . . <a href="#page-24">24</a>
<a href="#section-5.3.2">5.3.2</a>. Example: Conditional Get Time Zone Data . . . . . . . <a href="#page-25">25</a>
<span class="grey">Douglass & Daboo Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
5.3.3. Example: Get Time Zone Data Using a Time Zone Alias . 25
<a href="#section-5.3.4">5.3.4</a>. Example: Get Truncated Time Zone Data . . . . . . . . <a href="#page-26">26</a>
<a href="#section-5.3.5">5.3.5</a>. Example: Request for a Nonexistent Time Zone . . . . <a href="#page-27">27</a>
<a href="#section-5.4">5.4</a>. "expand" Action . . . . . . . . . . . . . . . . . . . . . <a href="#page-27">27</a>
<a href="#section-5.4.1">5.4.1</a>. Example: Expanded JSON Data Format . . . . . . . . . <a href="#page-29">29</a>
<a href="#section-5.5">5.5</a>. "find" Action . . . . . . . . . . . . . . . . . . . . . . <a href="#page-30">30</a>
<a href="#section-5.5.1">5.5.1</a>. Example: find action . . . . . . . . . . . . . . . . <a href="#page-31">31</a>
<a href="#section-5.6">5.6</a>. "leapseconds" Action . . . . . . . . . . . . . . . . . . <a href="#page-32">32</a>
<a href="#section-5.6.1">5.6.1</a>. Example: Get Leap-Second Information . . . . . . . . <a href="#page-33">33</a>
<a href="#section-6">6</a>. JSON Definitions . . . . . . . . . . . . . . . . . . . . . . <a href="#page-34">34</a>
<a href="#section-6.1">6.1</a>. capabilities Action Response . . . . . . . . . . . . . . <a href="#page-34">34</a>
<a href="#section-6.2">6.2</a>. list/find Action Response . . . . . . . . . . . . . . . . <a href="#page-37">37</a>
<a href="#section-6.3">6.3</a>. expand Action Response . . . . . . . . . . . . . . . . . <a href="#page-38">38</a>
<a href="#section-6.4">6.4</a>. leapseconds Action Response . . . . . . . . . . . . . . . <a href="#page-39">39</a>
<a href="#section-7">7</a>. New iCalendar Properties . . . . . . . . . . . . . . . . . . <a href="#page-40">40</a>
<a href="#section-7.1">7.1</a>. Time Zone Upper Bound . . . . . . . . . . . . . . . . . . <a href="#page-40">40</a>
<a href="#section-7.2">7.2</a>. Time Zone Identifier Alias Property . . . . . . . . . . . <a href="#page-41">41</a>
<a href="#section-8">8</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-42">42</a>
<a href="#section-9">9</a>. Privacy Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-43">43</a>
<a href="#section-10">10</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-44">44</a>
<a href="#section-10.1">10.1</a>. Service Actions Registration . . . . . . . . . . . . . . <a href="#page-45">45</a>
<a href="#section-10.1.1">10.1.1</a>. Service Actions Registration Procedure . . . . . . . <a href="#page-45">45</a>
<a href="#section-10.1.2">10.1.2</a>. Registration Template for Actions . . . . . . . . . <a href="#page-46">46</a>
<a href="#section-10.1.3">10.1.3</a>. Actions Registry . . . . . . . . . . . . . . . . . . <a href="#page-47">47</a>
<a href="#section-10.2">10.2</a>. timezone Well-Known URI Registration . . . . . . . . . . <a href="#page-47">47</a>
<a href="#section-10.3">10.3</a>. Service Name Registrations . . . . . . . . . . . . . . . <a href="#page-47">47</a>
<a href="#section-10.3.1">10.3.1</a>. timezone Service Name Registration . . . . . . . . . <a href="#page-47">47</a>
<a href="#section-10.3.2">10.3.2</a>. timezones Service Name Registration . . . . . . . . <a href="#page-48">48</a>
<a href="#section-10.4">10.4</a>. TZDIST Identifiers Registry . . . . . . . . . . . . . . <a href="#page-48">48</a>
<a href="#section-10.4.1">10.4.1</a>. Registration of invalid-action Error URN . . . . . . <a href="#page-49">49</a>
<a href="#section-10.4.2">10.4.2</a>. Registration of invalid-changedsince Error URN . . . <a href="#page-49">49</a>
<a href="#section-10.4.3">10.4.3</a>. Registration of tzid-not-found Error URN . . . . . . <a href="#page-50">50</a>
<a href="#section-10.4.4">10.4.4</a>. Registration of invalid-format Error URN . . . . . . <a href="#page-50">50</a>
<a href="#section-10.4.5">10.4.5</a>. Registration of invalid-start Error URN . . . . . . <a href="#page-50">50</a>
<a href="#section-10.4.6">10.4.6</a>. Registration of invalid-end Error URN . . . . . . . <a href="#page-51">51</a>
<a href="#section-10.4.7">10.4.7</a>. Registration of invalid-pattern Error URN . . . . . <a href="#page-51">51</a>
<a href="#section-10.5">10.5</a>. iCalendar Property Registrations . . . . . . . . . . . . <a href="#page-52">52</a>
<a href="#section-11">11</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-52">52</a>
<a href="#section-11.1">11.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-52">52</a>
<a href="#section-11.2">11.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-55">55</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-55">55</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-56">56</a>
<span class="grey">Douglass & Daboo Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Time zone data typically combines a coordinated universal time (UTC)
offset with daylight saving time (DST) rules. Time zones are
typically tied to specific geographic and geopolitical regions.
Whilst the UTC offset for particular regions changes infrequently,
DST rules can change frequently and sometimes with very little notice
(maybe hours before a change comes into effect).
Calendaring and scheduling systems, such as those that use iCalendar
[<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>], as well as operating systems, critically rely on time zone
data to determine the correct local time. As such, they need to be
kept up to date with changes to time zone data. To date, there has
been no fast and easy way to do that. Time zone data is often
supplied in the form of a set of data files that have to be
"compiled" into a suitable database format for use by the client
application or operating system. In the case of operating systems,
often those changes only get propagated to client machines when there
is an operating system update, which can be infrequent, resulting in
inaccurate time zone data being present for significant amounts of
time. In some cases, old versions of operating systems stop being
supported, but are still in use and thus require users to manually
"patch" their system to keep up to date with time zone changes.
Along with time zone data, it is also important to track the use of
leap seconds to allow a mapping between International Atomic Time
(TAI) and UTC. Leap seconds can be added (or possibly removed) at
various times of year in an irregular pattern typically determined by
precise astronomical observations. The insertion of leap seconds
into UTC is currently the responsibility of the International Earth
Rotation Service.
This specification defines a time zone data distribution service
protocol that allows for fast, reliable, and accurate delivery of
time zone data and leap-second information to client systems. This
protocol is based on HTTP [<a href="./rfc7230" title=""Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing"">RFC7230</a>] using a simple JSON-based API
[<a href="./rfc7159" title=""The JavaScript Object Notation (JSON) Data Interchange Format"">RFC7159</a>].
This specification does not define the source of the time zone data
or leap-second information. It is assumed that a reliable and
accurate source is available. One such source is the IANA-hosted
time zone database [<a href="./rfc6557" title=""Procedures for Maintaining the Time Zone Database"">RFC6557</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Douglass & Daboo Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Unless otherwise indicated, UTC date-time values as specified in
[<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>] use a "Z" suffix, and not fixed numeric offsets.
This specification contains examples of HTTP requests and responses.
In some cases, additional line breaks have been introduced into the
request or response data to match maximum line-length limits of this
document.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Architectural Overview</span>
The overall process for the delivery of time zone data can be
visualized via the diagram below.
==================== ====================
(a) | Contributors | | Contributors |
==================== ====================
| |
==================== ====================
(b) | Publisher A | | Publisher B |
==================== ====================
\ /
====================
(c) | Root Provider |
====================
/ | \
/ | \
====================== | ======================
(d) | Secondary Provider | | | Secondary Provider |
====================== | ======================
| | | |
| | | |
========== ========== ========== ==========
(e) | Client | | Client | | Client | | Client |
========== ========== ========== ==========
Figure 1: Time Zone Data Distribution Service Architecture
The overall service is made up of several layers:
(a) Contributors: Individuals, governments, or organizations that
provide information about time zones to the publishing process.
There can be many contributors. Note this specification does not
address how contributions are made.
<span class="grey">Douglass & Daboo Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
(b) Publishers: Publishers aggregate information from contributors,
determine the reliability of the information and, based on that,
generate time zone data. There can be many publishers, each
getting information from many different contributors. In some
cases, a publisher may choose to "republish" data from another
publisher.
(c) Root Providers: Servers that obtain and then provide the time
zone data from publishers and make that available to other
servers or clients. There can be many root providers. Root
providers can choose to supply time zone data from one or more
publishers.
(d) Secondary Providers: Servers that handle the bulk of the
requests and reduce the load on root servers. These will
typically be simple, caches of the root server, located closer to
clients. For example a large Internet Service Provider (ISP) may
choose to set up their own secondary provider to allow clients
within their network to make requests of that server rather than
make requests of servers outside their network. Secondary
servers will cache and periodically refresh data from the root
servers.
(e) Clients: Applications, operating systems, etc., that make use of
time zone data and retrieve that from either root or secondary
providers.
Some of those layers may be coalesced by implementors. For example,
a vendor may choose to implement the entire service as a single
monolithic virtual server with the address embedded in distributed
systems. Others may choose to provide a service consisting of
multiple layers of providers, many secondary servers, and a small
number of root servers.
This specification is concerned only with the protocol used to
exchange data between providers and from provider to client. This
specification does not define how contributors pass their information
to publishers, nor how those publishers vet that information to
obtain trustworthy data, nor the format of the data produced by the
publishers.
<span class="grey">Douglass & Daboo Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. General Considerations</span>
This section defines several terms and explains some key concepts
used in this specification.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Time Zone</span>
A time zone is a description of the past and predicted future
timekeeping practices of a collection of clocks that are intended to
agree.
Note that the term "time zone" does not have the common meaning of a
region of the world at a specific UTC offset, possibly modified by
daylight saving time. For example, the "Central European Time" zone
can correspond to several time zones "Europe/Berlin", "Europe/Paris",
etc., because subregions have kept time differently in the past.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Time Zone Data</span>
Time zone data is data that defines a single time zone, including an
identifier, UTC offset values, DST rules, and other information such
as time zone abbreviations.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Time Zone Metadata</span>
Time zone metadata is data that describes additional properties of a
time zone that is not itself included in the time zone data. This
can include such things as the publisher name, version identifier,
aliases, and localized names (see below).
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Time Zone Data Server</span>
A time zone data server is a server implementing the Time Zone Data
Distribution Service Protocol defined by this specification.
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. Observance</span>
A time zone with varying rules for the UTC offset will have adjacent
periods of time that use different UTC offsets. Each period of time
with a constant UTC offset is called an observance.
<span class="h3"><a class="selflink" id="section-3.6" href="#section-3.6">3.6</a>. Time Zone Identifiers</span>
Time zone identifiers are unique names associated with each time
zone, as defined by publishers. The iCalendar [<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>]
specification has a "TZID" property and parameter whose value is set
to the corresponding time zone identifier and used to identify time
zone data and relate time zones to start and end dates in events,
<span class="grey">Douglass & Daboo Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
etc. This specification does not define what format of time zone
identifiers should be used. It is possible that time zone
identifiers from different publishers overlap, and there might be a
need for a provider to distinguish those with some form of
"namespace" prefix identifying the publisher. However, development
of a standard (global) naming scheme for time zone identifiers is out
of scope for this specification.
<span class="h3"><a class="selflink" id="section-3.7" href="#section-3.7">3.7</a>. Time Zone Aliases</span>
Time zone aliases map a name onto a time zone identifier. For
example, "US/Eastern" is usually mapped on to "America/New_York".
Time zone aliases are typically used interchangeably with time zone
identifiers when presenting information to users.
A time zone data distribution service needs to maintain time zone
alias mapping information and expose that data to clients as well as
allow clients to query for time zone data using aliases. When
returning time zone data to a client, the server returns the data
with an identifier matching the query, but it can include one or more
additional identifiers in the data to provide a hint to the client
that alternative identifiers are available. For example, a query for
"US/Eastern" could include additional identifiers for "America/
New_York" or "America/Montreal".
The set of aliases may vary depending on whether time zone data is
truncated (see <a href="#section-3.9">Section 3.9</a>). For example, a client located in the US
state of Michigan may see "US/Eastern" as an alias for "America/
Detroit", whereas a client in the US state of New Jersey may see it
as an alias for "America/New_York", and all three names may be
aliases if time zones are truncated to post-2013 data.
<span class="h3"><a class="selflink" id="section-3.8" href="#section-3.8">3.8</a>. Time Zone Localized Names</span>
Localized names are names for time zones that can be presented to a
user in their own language. Each time zone may have one or more
localized names associated with it. Names would typically be unique
in their own locale as they might be presented to the user in a list.
Localized names are distinct from abbreviations commonly used for UTC
offsets within a time zone. For example, the time zone "America/
New_York" may have the localized name "Nueva York" in a Spanish
locale, as distinct from the abbreviations "EST" and "EDT", which may
or may not have their own localizations.
A time zone data distribution service might need to maintain
localized name information, for one or more chosen languages, as well
as allow clients to query for time zone data using localized names.
<span class="grey">Douglass & Daboo Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h3"><a class="selflink" id="section-3.9" href="#section-3.9">3.9</a>. Truncating Time Zones</span>
Time zone data can contain information about past and future UTC
offsets that may not be relevant for a particular server's intended
clients. For example, calendaring and scheduling clients are likely
most concerned with time zone data that covers a period for one or
two years in the past on into the future, as users typically create
new events only for the present and future. Similarly, time zone
data might contain a large amount of "future" information about
transitions occurring many decades into the future. Again, clients
might be concerned only with a smaller range into the future, and
data past that point might be unnecessary.
To avoid having to send unnecessary data, servers can choose to
truncate time zone data to a range determined by start- and end-point
date-time values, and to provide only offsets and rules between those
points. If such truncation is done, the server MUST include the
ranges it is using in the "capabilities" action response (see
<a href="#section-6.1">Section 6.1</a>), so that clients can take appropriate action if they
need time zone data for times outside of those ranges.
The truncation points at the start and end of a range are always a
UTC date-time value, with the start point being "inclusive" to the
overall range, and the end point being "exclusive" to the overall
range (i.e., the end value is just past the end of the last valid
value in the range). A server will advertise a truncation range for
the truncated data it can supply or will provide an indicator that it
can truncate at any start or end point to produce arbitrary ranges.
In addition, the server can advertise that it supplies untruncated
data -- that is, data that covers the full range of times available
from the source publisher. In the absence of any indication of
truncated data available on the server, the server will supply only
untruncated data.
When truncating the start of a "VTIMEZONE" component, the server MUST
include exactly one "STANDARD" or "DAYLIGHT" subcomponent with a
"DTSTART" property value that matches the start point of the
truncation range, and appropriate "TZOFFSETFROM" and "TZOFFSETTO"
properties to indicate the correct offset in effect right before and
after the start point of the truncation range. This subcomponent,
which is the first observance defined by the time zone data,
represents the earliest valid date-time covered by the time zone data
in the truncated "VTIMEZONE" component.
When truncating the end of a "VTIMEZONE" component, the server MUST
include a "TZUNTIL" iCalendar property (<a href="#section-7.1">Section 7.1</a>) in the
"VTIMEZONE" component to indicate the end point of the truncation
range.
<span class="grey">Douglass & Daboo Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h3"><a class="selflink" id="section-3.10" href="#section-3.10">3.10</a>. Time Zone Versions</span>
Time zone data changes over time, and it is important for consumers
of that data to stay up to date with the latest versions. As a
result, it is useful to identify individual time zones with a
specific version number or version identifier as supplied by the time
zone data publisher. There are two common models that time zone data
publishers might use to publish updates to time zone data:
a. with the "monolithic" model, the data for all time zones is
published in one go, with a single version number or identifier
applied to the entire data set. For example, a publisher
producing data several times a year might use version identifiers
"2015a", "2015b", etc.
b. with the "incremental" model, each time zone has its own version
identifier, so that each time zone can be independently updated
without impacting any others. For example, if the initial data
has version "A.1" for time zone "A", and "B.1" for time zone "B",
and then time zone "B" changes; when the data is next published,
time zone "A" will still have version "A.1", but time zone "B"
will now have "B.2".
A time zone data distribution service needs to ensure that the
version identifiers used by the time zone data publisher are
available to any client, along with the actual publisher name on a
per-time-zone basis. This allows clients to compare publisher/
version details on any server, with existing locally cached client
data, and only fetch those time zones that have actually changed (see
<a href="#section-4.2.2">Section 4.2.2</a> for more details on how clients synchronize data from
the server).
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Time Zone Data Distribution Service Protocol</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Server Protocol</span>
The time zone data distribution service protocol uses HTTP [<a href="./rfc7230" title=""Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing"">RFC7230</a>]
for query and delivery of time zone data, metadata, and leap-second
information. The interactions with the HTTP server can be broken
down into a set of "actions" that define the overall function being
requested (see <a href="#section-5">Section 5</a>). Each action targets a specific HTTP
resource using the GET method, with various request-URI parameters
altering the behavior as needed.
The HTTP resources used for requests will be identified via URI
templates [<a href="./rfc6570" title=""URI Template"">RFC6570</a>]. The overall time zone data distribution service
has a "context path" request-URI template defined as "{/service-
prefix}". This "root" prefix is discovered by the client as per
<span class="grey">Douglass & Daboo Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<a href="#section-4.2.1">Section 4.2.1</a>. Request-URIs that target time zone data directly use
the prefix template "{/service-prefix,data-prefix}". The second
component of the prefix template can be used to introduce additional
path segments in the request-URI to allow for alternative ways to
"partition" the time zone data. For example, time zone data might be
partitioned by publisher release dates or version identifiers. This
specification does not define any partitions; that is left for future
extensions. When the "data-prefix" variable is empty, the server is
expected to return the current version of time zone data it has for
all publishers it supports.
All URI template variable values, and URI request parameters that
contain text values, MUST be encoded using the UTF-8 [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>]
character set. All responses MUST return data using the UTF-8
[<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>] character set. It is important to note that any "/"
characters, which are frequently found in time zone identifiers, are
percent-encoded when used in the value of a path segment expansion
variable in a URI template (as per <a href="./rfc6570#section-3.2.6">Section 3.2.6 of [RFC6570]</a>).
Thus, the time zone identifier "America/New_York" would appear as
"America%2FNew_York" when used as the value for the "{/tzid}" URI
template variable defined later in this specification.
The server provides time zone metadata in the form of a JSON
[<a href="./rfc7159" title=""The JavaScript Object Notation (JSON) Data Interchange Format"">RFC7159</a>] object. Clients can directly request the time zone
metadata or issue queries for subsets of metadata that match specific
criteria.
Security and privacy considerations for this protocol are discussed
in detail in Sections <a href="#section-8">8</a> and <a href="#section-9">9</a>, respectively.
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. Time Zone Queries</span>
Time zone identifiers, aliases, or localized names can be used to
query for time zone data or metadata. This will be more explicitly
defined below for each action. In general, however, if a "tzid" URI
template variable is used, then the value may be an identifier or an
alias. When the "pattern" URI query parameter is used, it may be an
identifier, an alias, or a localized name.
<span class="h4"><a class="selflink" id="section-4.1.2" href="#section-4.1.2">4.1.2</a>. Time Zone Formats</span>
The default media type [<a href="./rfc2046" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">RFC2046</a>] format for returning time zone data
is the iCalendar [<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>] data format. In addition, the iCalendar-
in-XML [<a href="./rfc6321" title=""xCal: The XML Format for iCalendar"">RFC6321</a>] and iCalendar-in-JSON [<a href="./rfc7265" title=""jCal: The JSON Format for iCalendar"">RFC7265</a>] representations are
available. Clients use the HTTP Accept header field (see
<a href="./rfc7231#section-5.3.2">Section 5.3.2 of [RFC7231]</a>) to indicate their preference for the
returned data format. Servers indicate the available formats that
they support via the "capabilities" action response (<a href="#section-5.1">Section 5.1</a>).
<span class="grey">Douglass & Daboo Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h4"><a class="selflink" id="section-4.1.3" href="#section-4.1.3">4.1.3</a>. Time Zone Localization</span>
As per <a href="#section-3.8">Section 3.8</a>, time zone data can support localized names.
Clients use the HTTP Accept-Language header field (see <a href="./rfc7231#section-5.3.5">Section 5.3.5
of [RFC7231]</a>) to indicate their preference for the language used for
localized names in the response data.
<span class="h4"><a class="selflink" id="section-4.1.4" href="#section-4.1.4">4.1.4</a>. Conditional Time Zone Requests</span>
When time zone data or metadata changes, it needs to be distributed
in a timely manner because changes to local time offsets might occur
within a few days of the publication of the time zone data changes.
Typically, the number of time zones that change is small, whilst the
overall number of time zones can be large. Thus, when a client is
using more than a few time zones, it is more efficient for the client
to be able to download only those time zones that have changed (an
incremental update).
Clients initially request a full list of time zones from the server
using a "list" action request (see <a href="#section-5.2">Section 5.2</a>). The response to
that request includes two items the client caches for use with
subsequent "conditional" (incremental update) requests:
1. An opaque synchronization token in the "synctoken" JSON member.
This token changes whenever there is a change to any metadata
associated with one or more time zones (where the metadata is the
information reported in the "list" action response for each time
zone).
2. The HTTP ETag header field value for each time zone returned in
the response. The ETag header field value is returned in the
"etag" JSON member, and it corresponds to the ETag header field
value that would be returned when executing a "get" action
request (see <a href="#section-5.3">Section 5.3</a>) against the corresponding time zone
data resource.
For subsequent updates to cached data, clients can use the following
procedure:
a. Send a "list" action request with a "changedsince" URI query
parameter with its value set to the last opaque synchronization
token returned by the server. The server will return time zone
metadata for only those time zones that have changed since the
last request.
b. The client will cache the new opaque synchronization token
returned in the response for the next incremental update, along
with the returned time zone metadata information.
<span class="grey">Douglass & Daboo Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
c. The client will check each time zone metadata to see if the
"etag" value is different from that of any cached time zone data
it has.
d. The client will use a "get" action request to update any cached
time zone data for those time zones whose ETag header field value
has changed.
Note that time zone metadata will always change when the
corresponding time zone data changes. However, the converse is not
true: it is possible for some piece of the time zone metadata to
change without the corresponding time zone data changing. e.g., for
the case of a "monolithic" publisher (see <a href="#section-3.10">Section 3.10</a>), the version
identifier in every time zone metadata element will change with each
new published revision; however, only a small subset of time zone
data will actually change.
If a client needs data for only one or a small set of time zones
(e.g., a clock in a fixed location), then it can use a conditional
HTTP request to determine if the time zone data has changed and
retrieve the new data. The full details of HTTP conditional requests
are described in [<a href="./rfc7232" title=""Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests"">RFC7232</a>]; what follows is a brief summary of what a
client typically does.
a. When the client retrieves the time zone data from the server
using a "get" action (see <a href="#section-5.3">Section 5.3</a>), the server will include
an HTTP ETag header field in the response.
b. The client will store the value of that header field along with
the request-URI used for the request.
c. When the client wants to check for an update, it issues another
"get" action HTTP request on the original request-URI, but this
time it includes an If-None-Match HTTP request header field, with
a value set to the ETag header field value from the previous
response. If the data for the time zone has not changed, the
server will return a 304 (Not Modified) HTTP response. If the
data has changed, the server will return a normal HTTP success
response that will include the changed data, as well as a new
value for the ETag header field.
Clients SHOULD poll for changes, using an appropriate conditional
request, at least once a day. A server acting as a secondary
provider, caching time zone data from another server, SHOULD poll for
changes once per hour. See <a href="#section-8">Section 8</a> on expected client and server
behavior regarding high request rates.
<span class="grey">Douglass & Daboo Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h4"><a class="selflink" id="section-4.1.5" href="#section-4.1.5">4.1.5</a>. Expanded Time Zone Data</span>
Determining time zone offsets at a particular point in time is often
a complicated process, as the rules for daylight saving time can be
complex. To help with this, the time zone data distribution service
provides an action that allows clients to request the server to
expand a time zone into a set of "observances" over a fixed period of
time (see <a href="#section-5.4">Section 5.4</a>). Each of these observances describes a UTC
onset time and UTC offsets for the prior time and the observance
time. Together, these provide a quick way for "thin" clients to
determine an appropriate UTC offset for an arbitrary date without
having to do full time zone expansion themselves.
<span class="h4"><a class="selflink" id="section-4.1.6" href="#section-4.1.6">4.1.6</a>. Server Requirements</span>
To enable a simple client implementation, servers SHOULD ensure that
they provide or cache data for all commonly used time zones, from
various publishers. That allows client implementations to configure
a single server to get all time zone data. In turn, any server can
refresh any of the data from any other server -- though the root
servers may provide the most up-to-date copy of the data.
<span class="h4"><a class="selflink" id="section-4.1.7" href="#section-4.1.7">4.1.7</a>. Error Responses</span>
When an HTTP error response is returned to the client, the server
SHOULD return a JSON "problem details" object in the response body,
as per [<a href="./rfc7807" title=""Problem Details for HTTP APIs"">RFC7807</a>]. Every JSON "problem details" object MUST include a
"type" member with a URI value matching the applicable error code
(defined for each action in <a href="#section-5">Section 5</a>).
<span class="h4"><a class="selflink" id="section-4.1.8" href="#section-4.1.8">4.1.8</a>. Extensions</span>
This protocol is designed to be extensible through a standards-based
registration mechanism (see <a href="#section-10">Section 10</a>). It is anticipated that
other useful time zone actions will be added in the future (e.g.,
mapping a geographical location to time zone identifiers, getting
change history for time zones), and so, servers MUST return a
description of their capabilities. This will allow clients to
determine if new features have been installed and, if not, fall back
on earlier features or disable some client capabilities.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Client Guidelines</span>
<span class="h4"><a class="selflink" id="section-4.2.1" href="#section-4.2.1">4.2.1</a>. Discovery</span>
Client implementations need to either know where the time zone data
distribution service is located or discover it through some
mechanism. To use a time zone data distribution service, a client
<span class="grey">Douglass & Daboo Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
needs a Fully Qualified Domain Name (FQDN), port, and HTTP request-
URI path. The request-URI path found via discovery is the "context
path" for the service itself. The "context path" is used as the
value of the "service-prefix" URI template variable when executing
actions (see <a href="#section-5">Section 5</a>).
The following subsections describe two methods of service discovery
using DNS SRV records [<a href="./rfc2782" title=""A DNS RR for specifying the location of services (DNS SRV)"">RFC2782</a>] and an HTTP "well-known" [<a href="./rfc5785" title=""Defining Well-Known Uniform Resource Identifiers (URIs)"">RFC5785</a>]
resource. However, alternative mechanisms could also be used (e.g.,
a DHCP server option [<a href="./rfc2131" title=""Dynamic Host Configuration Protocol"">RFC2131</a>]).
<span class="h5"><a class="selflink" id="section-4.2.1.1" href="#section-4.2.1.1">4.2.1.1</a>. SRV Service Labels for the Time Zone Data Distribution Service</span>
[<a id="ref-RFC2782">RFC2782</a>] defines a DNS-based service discovery protocol that has
been widely adopted as a means of locating particular services within
a local area network and beyond, using SRV RR records. This can be
used to discover a service's FQDN and port.
This specification adds two service types for use with SRV records:
timezone: Identifies a time zone data distribution server that uses
HTTP without Transport Layer Security ([<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>]).
timezones: Identifies a time zone data distribution server that uses
HTTP with Transport Layer Security ([<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>]).
Clients MUST honor "TTL", "Priority", and "Weight" values in the SRV
records, as described by [<a href="./rfc2782" title=""A DNS RR for specifying the location of services (DNS SRV)"">RFC2782</a>].
Example: service record for server without Transport Layer Security.
_timezone._tcp SRV 0 1 80 tz.example.com.
Example: service record for server with transport layer security.
_timezones._tcp SRV 0 1 443 tz.example.com.
<span class="h5"><a class="selflink" id="section-4.2.1.2" href="#section-4.2.1.2">4.2.1.2</a>. TXT Records for a Time Zone Data Distribution Service</span>
When SRV RRs are used to advertise a time zone data distribution
service, it is also convenient to be able to specify a "context path"
in the DNS to be retrieved at the same time. To enable that, this
specification uses a TXT RR that follows the syntax defined in
<a href="./rfc6763#section-6">Section 6 of [RFC6763]</a> and defines a "path" key for use in that
record. The value of the key MUST be the actual "context path" to
the corresponding service on the server.
<span class="grey">Douglass & Daboo Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
A site might provide TXT records in addition to SRV records for each
service. When present, clients MUST use the "path" value as the
"context path" for the service in HTTP requests. When not present,
clients use the ".well-known" URI approach described in
<a href="#section-4.2.1.3">Section 4.2.1.3</a>.
As per <a href="#section-8">Section 8</a>, the server MAY require authentication when a client
tries to access the path URI specified by the TXT RR (i.e., the
server would return a 401 status response to the unauthenticated
request from the client, then return a redirect response after a
successful authentication by the client).
Example: text record for service with Transport Layer Security.
_timezones._tcp TXT path=/timezones
<span class="h5"><a class="selflink" id="section-4.2.1.3" href="#section-4.2.1.3">4.2.1.3</a>. Well-Known URI for a Time Zone Data Distribution Service</span>
A "well-known" URI [<a href="./rfc5785" title=""Defining Well-Known Uniform Resource Identifiers (URIs)"">RFC5785</a>] is registered by this specification for
the Time Zone Data Distribution service, "timezone" (see <a href="#section-10">Section 10</a>).
This URI points to a resource that the client can use as the initial
"context path" for the service they are trying to connect to. The
server MUST redirect HTTP requests for that resource to the actual
"context path" using one of the available mechanisms provided by HTTP
(e.g., using an appropriate 3xx status response). Clients MUST
handle HTTP redirects on the ".well-known" URI, taking into account
security restrictions on redirects described in <a href="#section-8">Section 8</a>. Servers
MUST NOT locate the actual time zone data distribution service
endpoint at the ".well-known" URI as per <a href="./rfc5785#section-1.1">Section 1.1 of [RFC5785]</a>.
The "well-known" URI MUST be present on the server, even when a TXT
RR (<a href="#section-4.2.1.2">Section 4.2.1.2</a>) is used in the DNS to specify a "context path".
Servers SHOULD set an appropriate Cache-Control header field value
(as per <a href="./rfc7234#section-5.2">Section 5.2 of [RFC7234]</a>) in the redirect response to ensure
caching occurs as needed, or as required by the type of response
generated. For example, if it is anticipated that the location of
the redirect might change over time, then an appropriate "max-age"
value would be used.
As per <a href="#section-8">Section 8</a>, the server MAY require authentication when a client
tries to access the ".well-known" URI (i.e., the server would return
a 401 status response to the unauthenticated request from the client,
then return the redirect response after a successful authentication
by the client).
<span class="grey">Douglass & Daboo Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h6"><a class="selflink" id="section-4.2.1.3.1" href="#section-4.2.1.3.1">4.2.1.3.1</a>. Example: Well-Known URI Redirects to Actual Context Path</span>
A time zone data distribution server has a "context path" that is
"/servlet/timezone". The client will use "/.well-known/timezone" as
the path for the service after it has first found the FQDN and port
number via an SRV lookup or via manual entry of information by the
user. When the client makes its initial HTTP request against
"/.well-known/timezone", the server would issue an HTTP 301 redirect
response with a Location response header field using the path
"/servlet/timezone". The client would then "follow" this redirect to
the new resource and continue making HTTP requests there. The client
would also cache the redirect information, subject to any Cache-
Control directive, for use in subsequent requests.
<span class="h4"><a class="selflink" id="section-4.2.2" href="#section-4.2.2">4.2.2</a>. Synchronization of Time Zones</span>
This section discusses possible client synchronization strategies
using the various protocol elements provided by the server for that
purpose.
<span class="h5"><a class="selflink" id="section-4.2.2.1" href="#section-4.2.2.1">4.2.2.1</a>. Initial Synchronization of All Time Zones</span>
When a secondary service or a client wishing to cache all time zone
data first starts, or wishes to do a full refresh, it synchronizes
with another server by issuing a "list" action to retrieve all the
time zone metadata. The client preserves the returned opaque token
for subsequent use (see "synctoken" in <a href="#section-5.2.1">Section 5.2.1</a>). The client
stores the metadata for each time zone returned in the response.
Time zone data for each corresponding time zone can then be fetched
and stored locally. In addition, a mapping of aliases to time zones
can be built from the metadata. A typical "list" action response
size is about 50-100 KB of "pretty printed" JSON data, for a service
using the IANA time zone database [<a href="./rfc6557" title=""Procedures for Maintaining the Time Zone Database"">RFC6557</a>], as of the time of
publication of this specification.
<span class="h5"><a class="selflink" id="section-4.2.2.2" href="#section-4.2.2.2">4.2.2.2</a>. Subsequent Synchronization of All Time Zones</span>
A secondary service or a client caching all time zones needs to
periodically synchronize with a server. To do so, it issues a "list"
action with the "changedsince" URI query parameter set to the value
of the opaque token returned by the last synchronization. The client
again preserves the returned opaque token for subsequent use. The
client updates its stored time zone metadata using the new values
returned in the response, which contains just the time zone metadata
for those time zones changed since the last synchronization. In
addition, it compares the "etag" value in each time zone metadata to
the ETag header field value for the corresponding time zone data
resource it has previously cached; if they are different, it fetches
<span class="grey">Douglass & Daboo Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
the new time zone data. Note that if the client presents the server
with a "changedsince" value that the server does not support, all
time zone data is returned, as it would for the case where the
request did not include a "changedsince" value.
Publishers should take into account the fact that the "outright"
deletion of time zone names will cause problems to simple clients,
and so aliasing a deleted time zone identifier to a suitable
alternate one is preferable.
<span class="h5"><a class="selflink" id="section-4.2.2.3" href="#section-4.2.2.3">4.2.2.3</a>. Synchronization with Preexisting Time Zone Data</span>
A client might be pre-provisioned with time zone data from a source
other than the time zone data distribution service it is configured
to use. In such cases, the client might want to minimize the amount
of time zone data it synchronizes by doing an initial "list" action
to retrieve all the time zone metadata, but then only fetch time zone
data for those time zones that do not match the publisher and version
details for the pre-provisioned data.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Actions</span>
Servers MUST support the following actions. The information below
shows details about each action: the request-URI the client targets
(in the form of a URI template [<a href="./rfc6570" title=""URI Template"">RFC6570</a>]), a description, the set of
allowed query parameters, the nature of the response, and a set of
possible error codes for the response (see <a href="#section-4.1.7">Section 4.1.7</a>).
For any error not covered by the specific error codes defined below,
the "urn:ietf:params:tzdist:error:invalid-action" error code is
returned to the client in the JSON "problem details" object.
The examples in the following subsections presume that the timezone
context path has been discovered to be "/servlet/timezone" (as in the
example in <a href="#section-4.2.1.3.1">Section 4.2.1.3.1</a>).
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. "capabilities" Action</span>
Name: capabilities
Request-URI Template:
{/service-prefix}/capabilities
Description: This action returns the capabilities of the server,
allowing clients to determine if a specific feature has been
deployed and/or enabled.
Parameters: None
<span class="grey">Douglass & Daboo Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Response: A JSON object containing a "version" member, an "info"
member, and an "actions" member; see <a href="#section-6.1">Section 6.1</a>.
Possible Error Codes: No specific code.
<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>. Example: get capabilities</span>
>> Request <<
GET /servlet/timezone/capabilities HTTP/1.1
Host: tz.example.com
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: application/json; charset="utf-8"
Content-Length: xxxx
{
"version": 1,
"info": {
"primary-source": "Olson:2011m",
"formats": [
"text/calendar",
"application/calendar+xml",
"application/calendar+json"
],
"truncated" : {
"any": false,
"ranges": [
{
"start": "1970-01-01T00:00:00Z",
"end": "*"
},
{
"start":"2010-01-01T00:00:00Z",
"end":"2020-01-01T00:00:00Z"
}
],
"untruncated": true
},
"provider-details": "http://tz.example.com/about.html",
"contacts": ["mailto:tzs@example.org"]
},
<span class="grey">Douglass & Daboo Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
"actions": [
{
"name": "capabilities",
"uri-template": "/servlet/timezone/capabilities",
"parameters": []
},
{
"name": "list",
"uri-template": "/servlet/timezone/zones{?changedsince}",
"parameters": [
{
"name": "changedsince",
"required": false,
"multi": false
}
]
},
{
"name": "get",
"uri-template": "/servlet/timezone/zones{/tzid}{?start,end}",
"parameters": [
{
"name": "start",
"required": false,
"multi": false
},
{
"name": "end",
"required": false,
"multi": false
}
]
},
{
"name": "expand",
"uri-template":
"/servlet/timezone/zones{/tzid}/observances{?start,end}",
"parameters": [
{
"name": "start",
"required": true,
"multi": false
},
{
"name": "end",
<span class="grey">Douglass & Daboo Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
"required": true,
"multi": false
}
]
},
{
"name": "find",
"uri-template": "/servlet/timezone/zones{?pattern}",
"parameters": [
{
"name": "pattern",
"required": true,
"multi": false
}
]
},
{
"name": "leapseconds",
"uri-template": "/servlet/timezone/leapseconds",
"parameters": []
}
]
}
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. "list" Action</span>
Name: list
Request-URI Template:
{/service-prefix,data-prefix}/zones{?changedsince}
Description: This action lists all time zone identifiers in summary
format, with publisher, version, aliases, and optional localized
data. In addition, it returns an opaque synchronization token for
the entire response. If the "changedsince" URI query parameter is
present, its value MUST correspond to a previously returned
synchronization token value. When "changedsince" is used, the
server MUST return only those time zones that have changed since
the specified synchronization token. If the "changedsince" value
is not supported by the server, the server MUST return all time
zones, treating the request as if it had no "changedsince".
Parameters:
changedsince
OPTIONAL, and MUST NOT occur more than once.
<span class="grey">Douglass & Daboo Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Response: A JSON object containing a "synctoken" member and a
"timezones" member; see <a href="#section-6.2">Section 6.2</a>.
Possible Error Codes:
urn:ietf:params:tzdist:error:invalid-changedsince
The "changedsince" URI query parameter appears more than once.
<span class="h4"><a class="selflink" id="section-5.2.1" href="#section-5.2.1">5.2.1</a>. Example: List Time Zone Identifiers</span>
In this example the client requests the full set of time zone
identifiers.
>> Request <<
GET /servlet/timezone/zones HTTP/1.1
Host: tz.example.com
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: application/json; charset="utf-8"
Content-Length: xxxx
{
"synctoken": "2009-10-11T09:32:11Z",
"timezones": [
{
"tzid": "America/New_York",
"etag": "123456789-000-111",
"last-modified": "2009-09-17T01:39:34Z",
"publisher": "Example.com",
"version": "2015a",
"aliases":["US/Eastern"],
"local-names": [
{
"name": "America/New_York",
"lang": "en_US"
}
]
},
...other time zones...
]
}
<span class="grey">Douglass & Daboo Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. "get" Action</span>
Name: get
Request-URI Template:
{/service-prefix,data-prefix}/zones{/tzid}{?start,end}
The "tzid" variable value is REQUIRED in order to distinguish this
action from the "list" action.
Description: This action returns a time zone. The response MUST
contain an ETag response header field indicating the current value
of the strong entity tag of the time zone resource.
In the absence of any Accept HTTP request header field, the server
MUST return time zone data with the "text/calendar" media type.
If the "tzid" variable value is actually a time zone alias, the
server will return the matching time zone data with the alias as
the identifier in the time zone data. The server MAY include one
or more "TZID-ALIAS-OF" properties (see <a href="#section-7.2">Section 7.2</a>) in the time
zone data to indicate additional identifiers that have the
matching time zone identifier as an alias.
Parameters:
start=<date-time>
OPTIONAL, and MUST NOT occur more than once. Specifies the
inclusive UTC date-time value at which the returned time zone
data is truncated at its start.
end=<date-time>
OPTIONAL, and MUST NOT occur more than once. Specifies the
exclusive UTC date-time value at which the returned time zone
data is truncated at its end.
Response: A document containing all the requested time zone data in
the format specified.
Possible Error Codes:
urn:ietf:params:tzdist:error:tzid-not-found
No time zone associated with the specified "tzid" path segment
value was found.
<span class="grey">Douglass & Daboo Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
urn:ietf:params:tzdist:error:invalid-format
The Accept request header field supplied by the client did not
contain a media type for time zone data supported by the
server.
urn:ietf:params:tzdist:error:invalid-start
The "start" URI query parameter has an incorrect value, or
appears more than once, or does not match one of the fixed
truncation range start values advertised in the "capabilities"
action response.
urn:ietf:params:tzdist:error:invalid-end
The "end" URI query parameter has an incorrect value, or
appears more than once, or has a value less than or equal to
the "start" URI query parameter, or does not match one of the
fixed truncation range end values advertised in the
"capabilities" action response.
<span class="h4"><a class="selflink" id="section-5.3.1" href="#section-5.3.1">5.3.1</a>. Example: Get Time Zone Data</span>
In this example, the client requests that the time zone with a
specific time zone identifier be returned.
>> Request <<
GET /servlet/timezone/zones/America%2FNew_York HTTP/1.1
Host: tz.example.com
Accept:text/calendar
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: text/calendar; charset="utf-8"
Content-Length: xxxx
ETag: "123456789-000-111"
BEGIN:VCALENDAR
...
BEGIN:VTIMEZONE
TZID:America/New_York
...
END:VTIMEZONE
END:VCALENDAR
<span class="grey">Douglass & Daboo Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h4"><a class="selflink" id="section-5.3.2" href="#section-5.3.2">5.3.2</a>. Example: Conditional Get Time Zone Data</span>
In this example the client requests that the time zone with a
specific time zone identifier be returned, but uses an If-None-Match
header field in the request, set to the value of a previously
returned ETag header field, or the value of the "etag" member in a
JSON "timezone" object returned from a "list" action response. In
this example, the data on the server has not changed, so a 304
response is returned.
>> Request <<
GET /servlet/timezone/zones/America%2FNew_York HTTP/1.1
Host: tz.example.com
Accept:text/calendar
If-None-Match: "123456789-000-111"
>> Response <<
HTTP/1.1 304 Not Modified
Date: Wed, 4 Jun 2008 09:32:12 GMT
<span class="h4"><a class="selflink" id="section-5.3.3" href="#section-5.3.3">5.3.3</a>. Example: Get Time Zone Data Using a Time Zone Alias</span>
In this example, the client requests that the time zone with an
aliased time zone identifier be returned, and the server returns the
time zone data with that identifier and two aliases.
>> Request <<
GET /servlet/timezone/zones/US%2FEastern HTTP/1.1
Host: tz.example.com
Accept:text/calendar
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: text/calendar; charset="utf-8"
Content-Length: xxxx
ETag: "123456789-000-111"
BEGIN:VCALENDAR
...
BEGIN:VTIMEZONE
TZID:US/Eastern
TZID-ALIAS-OF:America/New_York
TZID-ALIAS-OF:America/Montreal
<span class="grey">Douglass & Daboo Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
...
END:VTIMEZONE
END:VCALENDAR
<span class="h4"><a class="selflink" id="section-5.3.4" href="#section-5.3.4">5.3.4</a>. Example: Get Truncated Time Zone Data</span>
Assume the server advertises a "truncated" object in its
"capabilities" response that appears as:
"truncated": {
"any": false,
"ranges": [
{"start": "1970-01-01T00:00:00Z", "end": "*"},
{"start":"2010-01-01T00:00:00Z", "end":"2020-01-01T00:00:00Z"}
],
"untruncated": false
}
In this example, the client requests that the time zone with a
specific time zone identifier truncated at one of the ranges
specified by the server be returned. Note the presence of a
"STANDARD" component that matches the start point of the truncation
range (converted to the local time for the UTC offset in effect at
the matching UTC time). Also, note the presence of the "TZUNTIL"
(<a href="#section-7.1">Section 7.1</a>) iCalendar property in the "VTIMEZONE" component,
indicating the upper bound on the validity period of the time zone
data.
>> Request <<
GET /servlet/timezone/zones/America%2FNew_York
?start=2010-01-01T00:00:00Z&end=2020-01-01T00:00:00Z HTTP/1.1
Host: tz.example.com
Accept:text/calendar
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: text/calendar; charset="utf-8"
Content-Length: xxxx
ETag: "123456789-000-111"
BEGIN:VCALENDAR
...
BEGIN:VTIMEZONE
TZID:America/New_York
TZUNTIL:20200101T000000Z
<span class="grey">Douglass & Daboo Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
BEGIN:STANDARD
DTSTART:20101231T190000
TZNAME:EST
TZOFFSETFROM:-0500
TZOFFSETTO:-0500
END:STANDARD
...
END:VTIMEZONE
END:VCALENDAR
<span class="h4"><a class="selflink" id="section-5.3.5" href="#section-5.3.5">5.3.5</a>. Example: Request for a Nonexistent Time Zone</span>
In this example, the client requests that the time zone with a
specific time zone identifier be returned. As it turns out, no time
zone exists with that identifier.
>> Request <<
GET /servlet/timezone/zones/America%2FPittsburgh HTTP/1.1
Host: tz.example.com
Accept:application/calendar+json
>> Response <<
HTTP/1.1 404 Not Found
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: application/problem+json; charset="utf-8"
Content-Language: en
Content-Length: xxxx
{
"type": "urn:ietf:params:tzdist:error:tzid-not-found",
"title": "Time zone identifier was not found on this server",
"status": 404
}
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. "expand" Action</span>
Name: expand
Request-URI Template:
{/service-prefix,data-prefix}/zones{/tzid}/observances{?start,end}
The "tzid" variable value is REQUIRED.
<span class="grey">Douglass & Daboo Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Description: This action expands the specified time zone into a list
of onset start date/time values (in UTC) and UTC offsets. The
response MUST contain an ETag response header field indicating the
current value of the strong entity tag of the time zone being
expanded.
Parameters:
start=<date-time>: REQUIRED, and MUST occur only once. Specifies
the inclusive UTC date-time value for the start of the period
of interest.
end=<date-time>: REQUIRED, and MUST occur only once. Specifies
the exclusive UTC date-time value for the end of the period of
interest. Note that this is the exclusive end value, i.e., it
represents the date just after the range of interest. For if a
client wants the expanded date just for the year 2014, it would
use a start value of "2014-01-01T00:00:00Z" and an end value of
"2015-01-01T00:00:00Z". An error occurs if the end value is
less than or equal to the start value.
Response: A JSON object containing a "tzid" member and an
"observances" member; see <a href="#section-6.3">Section 6.3</a>. If the time zone being
expanded is not fully defined over the requested time range (e.g.,
because of truncation), then the server MUST include "start" and/
or "end" members in the JSON response to indicate the actual start
and end points for the observances being returned. The server
MUST include an expanded observance representing the time zone
information in effect at the start of the returned observance
period.
Possible Error Codes
urn:ietf:params:tzdist:error:tzid-not-found
No time zone associated with the specified "tzid" path segment
value was found.
urn:ietf:params:tzdist:error:invalid-start
The "start" URI query parameter has an incorrect value, or
appears more than once, or is missing, or has a value outside
any fixed truncation ranges advertised in the "capabilities"
action response.
urn:ietf:params:tzdist:error:invalid-end
The "end" URI query parameter has an incorrect value, or
appears more than once, or has a value less than or equal to
<span class="grey">Douglass & Daboo Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
the "start" URI query parameter, or has a value outside any
fixed truncation ranges advertised in the "capabilities" action
response.
<span class="h4"><a class="selflink" id="section-5.4.1" href="#section-5.4.1">5.4.1</a>. Example: Expanded JSON Data Format</span>
In this example, the client requests a time zone in the expanded
form.
>> Request <<
GET /servlet/timezone/zones/America%2FNew_York/observances
?start=2008-01-01T00:00:00Z&end=2009-01-01T00:00:00Z HTTP/1.1
Host: tz.example.com
>> Response <<
HTTP/1.1 200 OK
Date: Mon, 11 Oct 2009 09:32:12 GMT
Content-Type: application/json; charset="utf-8"
Content-Length: xxxx
ETag: "123456789-000-111"
{
"tzid": "America/New_York",
"observances": [
{
"name": "Standard",
"onset": "2008-01-01T00:00:00Z",
"utc-offset-from": -18000,
"utc-offset-to": -18000
},
{
"name": "Daylight",
"onset": "2008-03-09T07:00:00Z",
"utc-offset-from": -18000,
"utc-offset-to": -14400
},
{
"name": "Standard",
"onset": "2008-11-02T06:00:00Z",
"utc-offset-from": -14400,
"utc-offset-to": -18000
},
]
}
<span class="grey">Douglass & Daboo Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h3"><a class="selflink" id="section-5.5" href="#section-5.5">5.5</a>. "find" Action</span>
Name: find
Request-URI Template:
{/service-prefix,data-prefix}/zones{?pattern}
Description: This action allows a client to query the time zone data
distribution service for a matching identifier, alias, or
localized name, using a simple "glob" style patter match against
the names known to the server (with an asterisk (*) as the
wildcard character). Pattern-match strings (which have to be
percent-encoded and then decoded when used in the URI query
parameter) have the following options:
* not present: An exact text match is done, e.g., "xyz"
* first character only: An ends-with text match is done, e.g.,
"*xyz"
* last character only: A starts-with text match is done, e.g.,
"xyz*"
* first and last characters only: A substring text match is done,
e.g., "*xyz*"
Escaping \ and *: To match 0x2A ("*") and 0x5C ("\") characters
in a time zone identifier, those characters have to be
"escaped" in the pattern by prepending a single 0x5C ("\")
character. For example, a pattern "\*Test\\Time\*Zone\*" is
used for an exact match against the time zone identifier
"*Test\Time*Zone*". An unescaped "*" character MUST NOT appear
in the middle of the string and MUST result in an error. An
unescaped "\" character MUST NOT appear anywhere in the string
and MUST result in an error.
In addition, when matching:
Underscores: Underscore characters (0x5F) in time zone
identifiers MUST be mapped to a single space character (0x20)
prior to string comparison in both the pattern and time zone
identifiers being matched. This allows time zone identifiers
such as "America/New_York" to match a query for "*New York*".
Case mapping: ASCII characters in the range 0x41 ("A") through
0x5A ("Z") MUST be mapped to their lowercase equivalents in
both the pattern and time zone identifiers being matched.
<span class="grey">Douglass & Daboo Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Parameters:
pattern=<text>
REQUIRED, and MUST occur only once.
Response: The response has the same format as the "list" action,
with one result object per successful match; see <a href="#section-6.2">Section 6.2</a>.
Possible Error Codes
urn:ietf:params:tzdist:error:invalid-pattern
The "pattern" URI query parameter has an incorrect value or
appears more than once.
<span class="h4"><a class="selflink" id="section-5.5.1" href="#section-5.5.1">5.5.1</a>. Example: find action</span>
In this example, the client asks for data about the time zone
"US/Eastern".
>> Request <<
GET /servlet/timezone/zones?pattern=US/Eastern HTTP/1.1
Host: tz.example.com
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: application/json; charset="utf-8"
Content-Length: xxxx
{
"synctoken": "2009-10-11T09:32:11Z",
"timezones": [
{
"tzid": "America/New_York",
"etag": "123456789-000-111",
"last-modified": "2009-09-17T01:39:34Z",
"publisher": "Example.com",
"version": "2015a",
"aliases":["US/Eastern"],
"local-names": [
{
"name": "America/New_York",
"lang": "en_US"
}
]
},
<span class="grey">Douglass & Daboo Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
{
"tzid": "America/Detroit",
"etag": "123456789-999-222",
"last-modified": "2009-09-17T01:39:34Z",
"publisher": "Example.com",
"version": "2015a",
"aliases":["US/Eastern"],
"local-names": [
{
"name": "America/Detroit",
"lang": "en_US"
}
]
},
...
]
}
<span class="h3"><a class="selflink" id="section-5.6" href="#section-5.6">5.6</a>. "leapseconds" Action</span>
Name: leapseconds
Request-URI Template:
{/service-prefix,data-prefix}/leapseconds
Description: This action allows a client to query the time zone data
distribution service to retrieve the current leap-second
information available on the server.
Parameters: None
Response: A JSON object containing an "expires" member, a
"publisher" member, a "version" member, and a "leapseconds"
member; see <a href="#section-6.4">Section 6.4</a>. The "expires" member in the JSON
response indicates the latest date covered by leap-second
information. For example (as in <a href="#section-5.6.1">Section 5.6.1</a>), if the "expires"
value is set to "2014-06-28" and the latest leap-second change
indicated was at "2012-07-01", then the data indicates that there
are no leap seconds added (or removed) between those two dates,
and information for leap seconds beyond the "expires" date is not
yet available.
The "leapseconds" member contains a list of JSON objects each of
which contains a "utc-offset" and "onset" member. The "onset"
member specifies the date (with the implied time of 00:00:00 UTC)
at which the corresponding UTC offset from TAI takes effect. In
other words, a leap second is added or removed just prior to time
00:00:00 UTC of the specified onset date. When a leap second is
<span class="grey">Douglass & Daboo Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
added, the "utc-offset" value will be incremented by one; when a
leap second is removed, the "utc-offset" value will be decremented
by one.
Possible Error Codes No specific code.
<span class="h4"><a class="selflink" id="section-5.6.1" href="#section-5.6.1">5.6.1</a>. Example: Get Leap-Second Information</span>
In this example, the client requests the current leap-second
information from the server.
>> Request <<
GET /servlet/timezone/leapseconds HTTP/1.1
Host: tz.example.com
>> Response <<
HTTP/1.1 200 OK
Date: Wed, 4 Jun 2008 09:32:12 GMT
Content-Type: application/json; charset="utf-8"
Content-Length: xxxx
{
"expires": "2015-12-28",
"publisher": "Example.com",
"version": "2015d",
"leapseconds": [
{
"utc-offset": 10,
"onset": "1972-01-01",
},
{
"utc-offset": 11,
"onset": "1972-07-01",
},
...
{
"utc-offset": 35,
"onset": "2012-07-01",
},
{
"utc-offset": 36,
"onset": "2015-07-01",
}
]
}
<span class="grey">Douglass & Daboo Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. JSON Definitions</span>
[<a id="ref-RFC7159">RFC7159</a>] defines the structure of JSON objects using a set of
primitive elements. The structure of JSON objects used by this
specification is described by the following set of rules:
OBJECT represents a JSON object, defined in <a href="./rfc7159#section-4">Section 4 of [RFC7159]</a>.
"OBJECT" is followed by a parenthesized list of "MEMBER" rule
names. If a member rule name is preceded by a "?" (0x3F)
character, that member is optional; otherwise, all members are
required. If two or more member rule names are present, each
separated from the other by a "|" (0x7C) character, then only one
of those members MUST be present in the JSON object. JSON object
members are unordered, and thus the order used in the rules is not
significant.
MEMBER represents a member of a JSON object, defined in <a href="./rfc7159#section-4">Section 4 of
[RFC7159]</a>. "MEMBER" is followed by a rule name, the name of the
member, a ":", and then the value. A value can be one of
"OBJECT", "ARRAY", "NUMBER", "STRING", or "BOOLEAN" rules.
ARRAY represents a JSON array, defined in <a href="./rfc7159#section-5">Section 5 of [RFC7159]</a>.
"ARRAY" is followed by a value (one of "OBJECT", "ARRAY",
"NUMBER", "STRING", or "BOOLEAN"), indicating the type of items
used in the array.
NUMBER represents a JSON number, defined in <a href="./rfc7159#section-6">Section 6 of [RFC7159]</a>.
STRING represents a JSON string, defined in <a href="./rfc7159#section-7">Section 7 of [RFC7159]</a>.
BOOLEAN represents either of the JSON values "true" or "false",
defined in <a href="./rfc7159#section-3">Section 3 of [RFC7159]</a>.
; a line starting with a ";" (0x3B) character is a comment.
Note, clients MUST ignore any unexpected JSON members in responses
from the server.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. capabilities Action Response</span>
Below are the rules for the JSON document returned for a
"capabilities" action request.
; root object
OBJECT (version, info, actions)
; The version number of the protocol supported - MUST be 1
MEMBER version "version" : NUMBER
<span class="grey">Douglass & Daboo Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
; object containing service information
; Only one of primary_source or secondary_source MUST be present
MEMBER info "info" : OBJECT (
primary_source | secondary_source,
formats,
?truncated,
?provider_details,
?contacts
)
; The source of the time zone data provided by a "primary" server
MEMBER primary_source "primary-source" : STRING
; The time zone data server from which data is provided by a
; "secondary" server
MEMBER secondary_source "secondary-source" : STRING
; Array of one or more media types for the time zone data formats
; that the server can return
MEMBER formats "formats" : ARRAY STRING
; Present if the server is providing truncated time zone data. The
; value is an object providing details of the supported truncation
; modes.
MEMBER truncated "truncated" : OBJECT: (
any,
?ranges,
?untruncated
)
; Indicates whether the server can truncate time zone data at any
; start or end point. When set to "true", any start or end point is
; a valid value for use with the "start" and "end" URI query
; parameters in a "get" action request.
MEMBER any "any" : BOOLEAN
; Indicates which ranges of time the server has truncated data for.
; A value from this list may be used with the "start" and "end" URI
; query parameters in a "get" action request. Not present if "any"
; is set to "true".
MEMBER ranges "ranges" : ARRAY OBJECT (range-start, range-end)
; UTC date-time value (per [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]) for inclusive start of the
; range, or the single character "*" to indicate a value
; corresponding to the lower bound supplied by the publisher of the
; time zone data
MEMBER range-start "start" : STRING
<span class="grey">Douglass & Daboo Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
; UTC date-time value (per [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]) for exclusive end of the range,
; or the single character "*" to indicate a value corresponding to
; the upper bound supplied by the publisher of the time zone data
MEMBER range-end "end" : STRING
; Indicates whether the server can supply untruncated data. When
; set to "true", indicates that, in addition to truncated data being
; available, the server can return untruncated data if a "get"
; action request is executed without a "start" or "end" URI query
; parameter.
MEMBER untruncated "untruncated" : BOOLEAN
; A URI where human-readable details about the time zone service
; is available
MEMBER provider_details "provider-details" : STRING
; Array of URIs providing contact details for the server
; administrator
MEMBER contacts "contacts" : ARRAY STRING
; Array of actions supported by the server
MEMBER actions "actions" : ARRAY OBJECT (
action_name,
action_params
)
; Name of the action
MEMBER action_name: "name" : STRING
; Array of request-URI query parameters supported by the action
MEMBER action_params: "parameters" ARRAY OBJECT (
param_name,
?param_required,
?param_multi,
?param_values
)
; Name of the parameter
MEMBER param_name "name" : STRING
; If true, the parameter has to be present in the request-URI
; default is false
MEMBER param_required "required" : BOOLEAN
; If true, the parameter can occur more than once in the request-URI
; default is false
MEMBER param_multi "multi" : BOOLEAN,
<span class="grey">Douglass & Daboo Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
; An array that defines the allowed set of values for the parameter
; In the absence of this member, any string value is acceptable
MEMBER param_values "values" ARRAY STRING
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. list/find Action Response</span>
Below are the rules for the JSON document returned for a "list" or
"find" action request.
; root object
OBJECT (synctoken, timezones)
; Server-generated opaque token used for synchronizing changes
MEMBER synctoken "synctoken" : STRING
; Array of time zone objects
MEMBER timezones "timezones" : ARRAY OBJECT (
tzid,
etag,
last_modified,
publisher,
version,
?aliases,
?local_names,
)
; Time zone identifier
MEMBER tzid "tzid" : STRING
; Current ETag for the corresponding time zone data resource
MEMBER etag "etag" : STRING
; Date/time when the time zone data was last modified
; UTC date-time value as specified in [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]
MEMBER last_modified "last-modified" : STRING
; Time zone data publisher
MEMBER publisher "publisher" : STRING
; Current version of the time zone data as defined by the
; publisher
MEMBER version "version" : STRING
; An array that lists the set of time zone aliases available
; for the corresponding time zone
MEMBER aliases "aliases" : ARRAY STRING
<span class="grey">Douglass & Daboo Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
; An array that lists the set of localized names available
; for the corresponding time zone
MEMBER local_names "local-names" : ARRAY OBJECT (
lname, lang, ?pref
)
; Language tag for the language of the associated name
MEMBER: lang "lang" : STRING
; Localized name
MEMBER lname "name" : STRING
; Indicates whether this is the preferred name for the associated
; language default: false
MEMBER pref "pref" : BOOLEAN
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. expand Action Response</span>
Below are the rules for the JSON document returned for a "expand"
action request.
; root object
OBJECT (
tzid,
?start,
?end,
observances
)
; Time zone identifier
MEMBER tzid "tzid" : STRING
; The actual inclusive start point for the returned observances
; if different from the value of the "start" URI query parameter
MEMBER start "start" : STRING
; The actual exclusive end point for the returned observances
; if different from the value of the "end" URI query parameter
MEMBER end "end" : STRING
; Array of time zone objects
MEMBER observances "observances" : ARRAY OBJECT (
oname,
?olocal_names,
onset,
utc_offset_from,
utc_offset_to
)
<span class="grey">Douglass & Daboo Standards Track [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
; Observance name
MEMBER oname "name" : STRING
; Array of localized observance names
MEMBER olocal_names "local-names" : ARRAY STRING
; UTC date-time value (per [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]) at which the observance takes
; effect
MEMBER onset "onset" : STRING
; The UTC offset in seconds before the start of this observance
MEMBER utc_offset_from "utc-offset-from" : NUMBER
; The UTC offset in seconds at and after the start of this observance
MEMBER utc_offset_to "utc-offset-to" : NUMBER
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. leapseconds Action Response</span>
Below are the rules for the JSON document returned for a
"leapseconds" action request.
; root object
OBJECT (
expires,
publisher,
version,
leapseconds
)
; Last valid date covered by the data in this response
; full-date value as specified in [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]
MEMBER expires "expires" : STRING
; Leap-second information publisher
MEMBER publisher "publisher" : STRING
; Current version of the leap-second information as defined by the
; publisher
MEMBER version "version" : STRING
; Array of leap-second objects
MEMBER leapseconds "leapseconds" : ARRAY OBJECT (
utc_offset,
onset
)
<span class="grey">Douglass & Daboo Standards Track [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
; The UTC offset from TAI in seconds in effect at and after the
; specified date
MEMBER utc_offset "utc-offset" : NUMBER
; full-date value (per [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]) at which the new UTC offset takes
; effect, at T00:00:00Z
MEMBER onset "onset" : STRING
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. New iCalendar Properties</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Time Zone Upper Bound</span>
Property Name: TZUNTIL
Purpose: This property specifies an upper bound for the validity
period of data within a "VTIMEZONE" component.
Value Type: DATE-TIME
Property Parameters: IANA and non-standard property parameters can
be specified on this property.
Conformance: This property can be specified zero times or one time
within "VTIMEZONE" calendar components.
Description: The value MUST be specified in the UTC time format.
Time zone data in a "VTIMEZONE" component might cover only a fixed
period of time. The start of such a period is clearly indicated
by the earliest observance defined by the "STANDARD" and
"DAYLIGHT" subcomponents. However, an upper bound on the validity
period of the time zone data cannot be simply derived from the
observance with the latest onset time, and [<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>] does not
define a way to get such an upper bound. This specification
introduces the "TZUNTIL" property for that purpose. It specifies
an "exclusive" UTC date-time value that indicates the last time at
which the time zone data is to be considered valid.
This property is also used by time zone data distribution servers
to indicate the truncation range end point of time zone data (as
described in <a href="#section-3.9">Section 3.9</a>).
Format Definition: This property is defined by the following
notation in ABNF [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>]:
tzuntil = "TZUNTIL" tzuntilparam ":" date-time CRLF
tzuntilparam = *(";" other-param)
<span class="grey">Douglass & Daboo Standards Track [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Example: Suppose a time zone based on astronomical observations has
well-defined onset times through the year 2025, but the first
onset in 2026 is currently known only approximately. In that
case, the "TZUNTIL" property could be specified as follows:
TZUNTIL:20260101T000000Z
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Time Zone Identifier Alias Property</span>
Property Name: TZID-ALIAS-OF
Purpose: This property specifies a time zone identifier for which
the main time zone identifier is an alias.
Value Type: TEXT
Property Parameters: IANA and non-standard property parameters can
be specified on this property.
Conformance: This property can be specified zero or more times
within "VTIMEZONE" calendar components.
Description: When the "VTIMEZONE" component uses a time zone
identifier alias for the "TZID" property value, the "TZID-ALIAS-
OF" property is used to indicate the time zone identifier of the
other time zone (see <a href="#section-3.7">Section 3.7</a>).
Format Definition: This property is defined by the following
notation in ABNF [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>]:
tzid-alias-of = "TZID-ALIAS-OF" tzidaliasofparam ":"
[tzidprefix] text CRLF
tzidaliasofparam = *(";" other-param)
;tzidprefix defined in [<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>].
Example: The following is an example of this property:
TZID-ALIAS-OF:America/New_York
<span class="grey">Douglass & Daboo Standards Track [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Security Considerations</span>
Time zone data is critical in determining local or UTC time for
devices and in calendaring and scheduling operations. As such, it is
vital that a reliable source of time zone data is used. Servers
providing a time zone data distribution service MUST support HTTP
over Transport Layer Security (TLS) (as defined by [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>] and
[<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>], with best practices described in [<a href="./rfc7525" title=""Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)"">RFC7525</a>]). Servers MAY
support a time zone data distribution service over HTTP without TLS.
However, secondary servers MUST use TLS to fetch data from a primary
server.
Clients SHOULD use Transport Layer Security as defined by [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>],
unless they are specifically configured otherwise. Clients that have
been configured to use the TLS-based service MUST NOT fall back to
using the non-TLS service if the TLS-based service is not available.
In addition, clients MUST NOT follow HTTP redirect requests from a
TLS service to a non-TLS service. When using TLS, clients MUST
verify the identity of the server, using a standard, secure mechanism
such as the certificate verification process specified in [<a href="./rfc6125" title=""Representation and Verification of Domain-Based Application Service Identity within Internet Public Key Infrastructure Using X.509 (PKIX) Certificates in the Context of Transport Layer Security (TLS)"">RFC6125</a>]
or DANE [<a href="./rfc6698" title=""The DNS-Based Authentication of Named Entities (DANE) Transport Layer Security (TLS) Protocol: TLSA"">RFC6698</a>].
A malicious attacker with access to the DNS server data, or able to
get spoofed answers cached in a recursive resolver, can potentially
cause clients to connect to any server chosen by the attacker. In
the absence of a secure DNS option, clients SHOULD check that the
target FQDN returned in the SRV record is the same as the original
service domain that was queried, or is a sub-domain of the original
service domain. In many cases, the client configuration is likely to
be handled automatically without any user input; as such, any
mismatch between the original service domain and the target FQDN is
treated as a failure and the client MUST NOT attempt to connect to
the target server. In addition, when Transport Layer Security is
being used, the Transport Layer Security certificate SHOULD include
an SRV-ID field as per [<a href="./rfc4985" title=""Internet X.509 Public Key Infrastructure Subject Alternative Name for Expression of Service Name"">RFC4985</a>] matching the expected DNS SRV
queries clients will use for service discovery. If an SRV-ID field
is present in a certificate, clients MUST match the SRV-ID value with
the service type and domain that matches the DNS SRV request made by
the client to discover the service.
Time zone data servers SHOULD protect themselves against poorly
implemented or malicious clients by throttling high request rates or
frequent requests for large amounts of data. Clients can avoid being
throttled by using the polling capabilities outlined in
<a href="#section-4.1.4">Section 4.1.4</a>. Servers MAY require some form of authentication or
authorization of clients (including secondary servers), as per
[<a href="./rfc7235" title=""Hypertext Transfer Protocol (HTTP/1.1): Authentication"">RFC7235</a>], to restrict which clients are allowed to access their
service or provide better identification of problematic clients.
<span class="grey">Douglass & Daboo Standards Track [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Privacy Considerations</span>
The type and pattern of requests that a client makes can be used to
"fingerprint" specific clients or devices and thus potentially used
to track information about what the users of the clients might be
doing. In particular, a client that only downloads time zone data on
an as-needed basis, will leak the fact that a user's device has moved
from one time zone to another or that the user is receiving
scheduling messages from another user in a different time zone.
Clients need to be aware of the potential ways in which an untrusted
server or a network observer might be able to track them and take
precautions such as the following:
1. Always use TLS to connect to the server.
2. Avoid use of TLS session resumption.
3. Always fetch and synchronize the entire set of time zone data to
avoid leaking information about which time zones are actually in
use by the client.
4. Randomize the order in which individual time zones are fetched
using the "get" action, when retrieving a set of time zones based
on a "list" action response.
5. Avoid use of conditional HTTP requests [<a href="./rfc7232" title=""Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests"">RFC7232</a>] with the "get"
action to prevent tracking of clients by servers generating
client-specific ETag header field values.
6. Avoid use of cookies in HTTP requests [<a href="./rfc6265" title=""HTTP State Management Mechanism"">RFC6265</a>].
7. Avoid use of authenticated HTTP requests.
8. When doing periodic polling to check for updates, apply a random
(positive or negative) offset to the next poll time to avoid
servers being able to identify the client by the specific
periodicity of its polling behavior.
9. A server trying to "fingerprint" clients might insert a "fake"
time zone into the time zone data, using a unique identifier for
each client making a request. The server can then watch for
client requests that refer to that "fake" time zone and thus
track the activity of each client. It is hard for clients to
identify a "fake" time zone given that new time zones are added
occasionally. One option to mitigate this would be for the
client to make use of two time zone data distribution servers
from two independent providers that provide time zone data from
<span class="grey">Douglass & Daboo Standards Track [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
the same publisher. The client can then compare the list of time
zones from each server (assuming they both have the same version
of time zone data from the common publisher) and detect ones that
appear to be added on one server and not the other.
Alternatively, the client can check the publisher data directly
to verify that time zones match the set the publisher has.
Note that some of the above recommendations will result in less
efficient use of the protocol due to fetching data that might not be
relevant to the client.
An organization can set up a secondary server within their own domain
and configure their clients to use that server to protect the
organization's users from the possibility of being tracked by an
untrusted time zone data distribution server. Clients can then use
more-efficient protocol interactions, free from the concerns above,
on the basis that their organization's server is trusted. When doing
this, the secondary server would follow the recommendations for
clients (listed in the previous paragraph) so that the untrusted
server is not able to gain information about the organization as a
whole. Note, however, that client requests to the secondary server
are subject to tracking by a network observer, so clients ought to
apply some of the randomization techniques from the list above.
Servers that want to avoid accidentally storing information that
could be used to identify clients can take the following precautions:
1. Avoid logging client request activity, or anonymize information
in any logs (e.g., client IP address, client user-agent details,
authentication credentials, etc.).
2. Add an unused HTTP response header to each response with a random
amount of data in it (e.g., to pad the overall request size to
the nearest power-of-2 or 128-byte boundary) to avoid exposing
which time zones are being fetched when TLS is being used, via
network traffic analysis.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. IANA Considerations</span>
This specification defines a new registry of "actions" for the time
zone data distribution service protocol, defines a "well-known" URI
using the registration procedure and template from <a href="./rfc5785#section-5.1">Section 5.1 of
[RFC5785]</a>, creates two new SRV service label aliases, and defines one
new iCalendar property parameter as per the registration procedure in
[<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>]. It also adds a new "TZDIST Identifiers Registry" to the
IETF parameters URN sub-namespace as per [<a href="./rfc3553" title=""An IETF URN Sub-namespace for Registered Protocol Parameters"">RFC3553</a>] for use with
protocol related error codes.
<span class="grey">Douglass & Daboo Standards Track [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Service Actions Registration</span>
IANA has created a new top-level category called "Time Zone Data
Distribution Service (TZDIST) Parameters" and has put all the
registries created herein into that category.
IANA has created a new registry called "TZDIST Service Actions", as
defined below.
<span class="h4"><a class="selflink" id="section-10.1.1" href="#section-10.1.1">10.1.1</a>. Service Actions Registration Procedure</span>
This registry uses the "Specification Required" policy defined in
[<a href="./rfc5226" title="">RFC5226</a>], which makes use of a designated expert to review potential
registrations.
The IETF has created a mailing list, tzdist-service@ietf.org, which
is used for public discussion of time zone data distribution service
actions proposals prior to registration. The IESG has appointed a
designated expert who will monitor the tzdist-service@ietf.org
mailing list and review registrations.
A Standards Track RFC is REQUIRED for changes to actions previously
documented in a Standards Track RFC; otherwise, any public
specification that satisfies the requirements of [<a href="./rfc5226" title="">RFC5226</a>] is
acceptable.
The registration procedure begins when a completed registration
template, as defined below, is sent to tzdist-service@ietf.org and
iana@iana.org. The designated expert is expected to tell IANA and
the submitter of the registration whether the registration is
approved, approved with minor changes, or rejected with cause, within
two weeks. When a registration is rejected with cause, it can be
resubmitted if the concerns listed in the cause are addressed.
Decisions made by the designated expert can be appealed as per
<a href="./rfc5226#section-7">Section 7 of [RFC5226]</a>.
The designated expert MUST take the following requirements into
account when reviewing the registration:
1. A valid registration template MUST be provided by the submitter,
with a clear description of what the action does.
2. A proposed new action name MUST NOT conflict with any existing
registered action name. A conflict includes a name that
duplicates an existing one or that appears to be very similar to
an existing one and could be a potential source of confusion.
<span class="grey">Douglass & Daboo Standards Track [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
3. A proposed new action MUST NOT exactly duplicate the
functionality of any existing actions. In cases where the new
action functionality is very close to an existing action, the
designated expert SHOULD clarify whether the submitter is aware
of the existing action, and has an adequate reason for creating a
new action with slight differences from an existing one.
4. If a proposed action is an extension to an existing action, the
changes MUST NOT conflict with the intent of the existing action,
or in a way that could cause interoperability problems for
existing deployments of the protocol.
The IANA registry contains the name of the action ("Action Name") and
a reference to the section of the specification where the action
registration template is defined ("Reference").
<span class="h4"><a class="selflink" id="section-10.1.2" href="#section-10.1.2">10.1.2</a>. Registration Template for Actions</span>
An action is defined by completing the following template.
Name: The name of the action.
Request-URI Template: The URI template used in HTTP requests for the
action.
Description: A general description of the action, its purpose, etc.
Parameters: A list of allowed request URI query parameters,
indicating whether they are "REQUIRED" or "OPTIONAL" and whether
they can occur only once or multiple times, together with the
expected format of the parameter values.
Response: The nature of the response to the HTTP request, e.g., what
format the response data is in.
Possible Error Codes: Possible error codes reported in a JSON
"problem details" object if an HTTP request fails.
<span class="grey">Douglass & Daboo Standards Track [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h4"><a class="selflink" id="section-10.1.3" href="#section-10.1.3">10.1.3</a>. Actions Registry</span>
The following table provides the initial content of the actions
registry.
+---------------+------------------------+
| Action Name | Reference |
+---------------+------------------------+
| capabilities | <a href="./rfc7808#section-5.1">RFC 7808, Section 5.1</a> |
| list | <a href="./rfc7808#section-5.2">RFC 7808, Section 5.2</a> |
| get | <a href="./rfc7808#section-5.3">RFC 7808, Section 5.3</a> |
| expand | <a href="./rfc7808#section-5.4">RFC 7808, Section 5.4</a> |
| find | <a href="./rfc7808#section-5.5">RFC 7808, Section 5.5</a> |
| leapseconds | <a href="./rfc7808#section-5.6">RFC 7808, Section 5.6</a> |
+---------------+------------------------+
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. timezone Well-Known URI Registration</span>
IANA has added the following to the "Well-Known URIs" [<a href="./rfc5785" title=""Defining Well-Known Uniform Resource Identifiers (URIs)"">RFC5785</a>]
registry:
URI suffix: timezone
Change controller: IESG.
Specification document(s): <a href="./rfc7808">RFC 7808</a>
Related information: None.
<span class="h3"><a class="selflink" id="section-10.3" href="#section-10.3">10.3</a>. Service Name Registrations</span>
IANA has added two new service names to the "Service Name and
Transport Protocol Port Number Registry" [<a href="./rfc6335" title=""Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry"">RFC6335</a>], as defined below.
<span class="h4"><a class="selflink" id="section-10.3.1" href="#section-10.3.1">10.3.1</a>. timezone Service Name Registration</span>
Service Name: timezone
Transport Protocol(s): TCP
Assignee: IESG <iesg@ietf.org>
Contact: IETF Chair <chair@ietf.org>
Description: Time Zone Data Distribution Service - non-TLS
Reference: <a href="./rfc7808">RFC 7808</a>
<span class="grey">Douglass & Daboo Standards Track [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Assignment Note: This is an extension of the http service. Defined
TXT keys: path=<context path> (as per <a href="./rfc6763#section-6">Section 6 of [RFC6763]</a>).
<span class="h4"><a class="selflink" id="section-10.3.2" href="#section-10.3.2">10.3.2</a>. timezones Service Name Registration</span>
Service Name: timezones
Transport Protocol(s): TCP
Assignee: IESG <iesg@ietf.org>
Contact: IETF Chair <chair@ietf.org>
Description: Time Zone Data Distribution Service - over TLS
Reference: <a href="./rfc7808">RFC 7808</a>
Assignment Note: This is an extension of the https service. Defined
TXT keys: path=<context path> (as per <a href="./rfc6763#section-6">Section 6 of [RFC6763]</a>).
<span class="h3"><a class="selflink" id="section-10.4" href="#section-10.4">10.4</a>. TZDIST Identifiers Registry</span>
IANA has registered a new URN sub-namespace within the IETF URN Sub-
namespace for Registered Protocol Parameter Identifiers defined in
[<a href="./rfc3553" title=""An IETF URN Sub-namespace for Registered Protocol Parameters"">RFC3553</a>].
Registrations in this registry follow the "IETF Review" [<a href="./rfc5226" title="">RFC5226</a>]
policy.
Registry name: TZDIST Identifiers
URN prefix: urn:ietf:params:tzdist
Specification: <a href="./rfc7808">RFC 7808</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Index value: Values in this registry are URNs or URN prefixes that
start with the prefix "urn:ietf:params:tzdist:". Each is
registered independently. The prefix
"urn:ietf:params:tzdist:error:" is used to represent specific
error codes within the protocol as defined in the list of actions
in <a href="#section-5">Section 5</a> and used in problem reports (<a href="#section-4.1.7">Section 4.1.7</a>).
Each registration in the "TZDIST Identifiers" registry requires the
following information:
URN: The complete URN that is used or the prefix for that URN.
<span class="grey">Douglass & Daboo Standards Track [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Description: A summary description for the URN or URN prefix.
Specification: A reference to a specification describing the URN or
URN prefix.
Contact: Email for the person or groups making the registration.
Index Value: As described in [<a href="./rfc3553" title=""An IETF URN Sub-namespace for Registered Protocol Parameters"">RFC3553</a>], URN prefixes that are
registered include a description of how the URN is constructed.
This is not applicable for specific URNs.
The "TZDIST Identifiers" registry has the initial registrations
included in the following sections.
<span class="h4"><a class="selflink" id="section-10.4.1" href="#section-10.4.1">10.4.1</a>. Registration of invalid-action Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:invalid-action
Description: Generic error code for any invalid action.
Specification: <a href="./rfc7808#section-5">RFC 7808, Section 5</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="h4"><a class="selflink" id="section-10.4.2" href="#section-10.4.2">10.4.2</a>. Registration of invalid-changedsince Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:invalid-changedsince
Description: Error code for incorrect use of the "changedsince" URI
query parameter.
Specification: <a href="./rfc7808#section-5.2">RFC 7808, Section 5.2</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="grey">Douglass & Daboo Standards Track [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h4"><a class="selflink" id="section-10.4.3" href="#section-10.4.3">10.4.3</a>. Registration of tzid-not-found Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:tzid-not-found
Description: Error code for missing time zone identifier.
Specification: <a href="./rfc7808">RFC 7808</a>, Sections <a href="#section-5.3">5.3</a> and <a href="#section-5.4">5.4</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="h4"><a class="selflink" id="section-10.4.4" href="#section-10.4.4">10.4.4</a>. Registration of invalid-format Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:invalid-format
Description: Error code for unsupported HTTP Accept request header
field value.
Specification: <a href="./rfc7808#section-5.3">RFC 7808, Section 5.3</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="h4"><a class="selflink" id="section-10.4.5" href="#section-10.4.5">10.4.5</a>. Registration of invalid-start Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:invalid-start
Description: Error code for incorrect use of the "start" URI query
parameter.
Specification: <a href="./rfc7808">RFC 7808</a>, Sections <a href="#section-5.3">5.3</a> and <a href="#section-5.4">5.4</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
<span class="grey">Douglass & Daboo Standards Track [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="h4"><a class="selflink" id="section-10.4.6" href="#section-10.4.6">10.4.6</a>. Registration of invalid-end Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:invalid-end
Description: Error code for incorrect use of the "end" URI query
parameter.
Specification: <a href="./rfc7808">RFC 7808</a>, Sections <a href="#section-5.3">5.3</a> and <a href="#section-5.4">5.4</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="h4"><a class="selflink" id="section-10.4.7" href="#section-10.4.7">10.4.7</a>. Registration of invalid-pattern Error URN</span>
The following URN has been registered in the "tzdist Identifiers"
registry.
URN: urn:ietf:params:tzdist:error:invalid-pattern
Description: Error code for incorrect use of the "pattern" URI query
parameter.
Specification: <a href="./rfc7808#section-5.5">RFC 7808, Section 5.5</a>
Repository: <a href="http://www.iana.org/assignments/tzdist-identifiers">http://www.iana.org/assignments/tzdist-identifiers</a>
Contact: IESG <iesg@ietf.org>
Index value: N/A.
<span class="grey">Douglass & Daboo Standards Track [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
<span class="h3"><a class="selflink" id="section-10.5" href="#section-10.5">10.5</a>. iCalendar Property Registrations</span>
This document defines the following new iCalendar properties, which
have been added to the "Properties" registry under "iCalendar Element
Registries" [<a href="./rfc5545" title=""Internet Calendaring and Scheduling Core Object Specification (iCalendar)"">RFC5545</a>]:
+----------------+----------+------------------------+
| Property | Status | Reference |
+----------------+----------+------------------------+
| TZUNTIL | Current | <a href="./rfc7808#section-7.1">RFC 7808, Section 7.1</a> |
| TZID-ALIAS-OF | Current | <a href="./rfc7808#section-7.2">RFC 7808, Section 7.2</a> |
+----------------+----------+------------------------+
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. References</span>
<span class="h3"><a class="selflink" id="section-11.1" href="#section-11.1">11.1</a>. Normative References</span>
[<a id="ref-RFC2046">RFC2046</a>] Freed, N. and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part Two: Media Types", <a href="./rfc2046">RFC 2046</a>,
DOI 10.17487/RFC2046, November 1996,
<<a href="http://www.rfc-editor.org/info/rfc2046">http://www.rfc-editor.org/info/rfc2046</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2782">RFC2782</a>] Gulbrandsen, A., Vixie, P., and L. Esibov, "A DNS RR for
specifying the location of services (DNS SRV)", <a href="./rfc2782">RFC 2782</a>,
DOI 10.17487/RFC2782, February 2000,
<<a href="http://www.rfc-editor.org/info/rfc2782">http://www.rfc-editor.org/info/rfc2782</a>>.
[<a id="ref-RFC2818">RFC2818</a>] Rescorla, E., "HTTP Over TLS", <a href="./rfc2818">RFC 2818</a>,
DOI 10.17487/RFC2818, May 2000,
<<a href="http://www.rfc-editor.org/info/rfc2818">http://www.rfc-editor.org/info/rfc2818</a>>.
[<a id="ref-RFC3339">RFC3339</a>] Klyne, G. and C. Newman, "Date and Time on the Internet:
Timestamps", <a href="./rfc3339">RFC 3339</a>, DOI 10.17487/RFC3339, July 2002,
<<a href="http://www.rfc-editor.org/info/rfc3339">http://www.rfc-editor.org/info/rfc3339</a>>.
[<a id="ref-RFC3553">RFC3553</a>] Mealling, M., Masinter, L., Hardie, T., and G. Klyne, "An
IETF URN Sub-namespace for Registered Protocol
Parameters", <a href="https://www.rfc-editor.org/bcp/bcp73">BCP 73</a>, <a href="./rfc3553">RFC 3553</a>, DOI 10.17487/RFC3553, June
2003, <<a href="http://www.rfc-editor.org/info/rfc3553">http://www.rfc-editor.org/info/rfc3553</a>>.
[<a id="ref-RFC3629">RFC3629</a>] Yergeau, F., "UTF-8, a transformation format of ISO
10646", STD 63, <a href="./rfc3629">RFC 3629</a>, DOI 10.17487/RFC3629, November
2003, <<a href="http://www.rfc-editor.org/info/rfc3629">http://www.rfc-editor.org/info/rfc3629</a>>.
<span class="grey">Douglass & Daboo Standards Track [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
[<a id="ref-RFC4985">RFC4985</a>] Santesson, S., "Internet X.509 Public Key Infrastructure
Subject Alternative Name for Expression of Service Name",
<a href="./rfc4985">RFC 4985</a>, DOI 10.17487/RFC4985, August 2007,
<<a href="http://www.rfc-editor.org/info/rfc4985">http://www.rfc-editor.org/info/rfc4985</a>>.
[<a id="ref-RFC5226">RFC5226</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc5226">RFC 5226</a>,
DOI 10.17487/RFC5226, May 2008,
<<a href="http://www.rfc-editor.org/info/rfc5226">http://www.rfc-editor.org/info/rfc5226</a>>.
[<a id="ref-RFC5234">RFC5234</a>] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>,
DOI 10.17487/RFC5234, January 2008,
<<a href="http://www.rfc-editor.org/info/rfc5234">http://www.rfc-editor.org/info/rfc5234</a>>.
[<a id="ref-RFC5246">RFC5246</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", <a href="./rfc5246">RFC 5246</a>,
DOI 10.17487/RFC5246, August 2008,
<<a href="http://www.rfc-editor.org/info/rfc5246">http://www.rfc-editor.org/info/rfc5246</a>>.
[<a id="ref-RFC5545">RFC5545</a>] Desruisseaux, B., Ed., "Internet Calendaring and
Scheduling Core Object Specification (iCalendar)",
<a href="./rfc5545">RFC 5545</a>, DOI 10.17487/RFC5545, September 2009,
<<a href="http://www.rfc-editor.org/info/rfc5545">http://www.rfc-editor.org/info/rfc5545</a>>.
[<a id="ref-RFC5785">RFC5785</a>] Nottingham, M. and E. Hammer-Lahav, "Defining Well-Known
Uniform Resource Identifiers (URIs)", <a href="./rfc5785">RFC 5785</a>,
DOI 10.17487/RFC5785, April 2010,
<<a href="http://www.rfc-editor.org/info/rfc5785">http://www.rfc-editor.org/info/rfc5785</a>>.
[<a id="ref-RFC6125">RFC6125</a>] Saint-Andre, P. and J. Hodges, "Representation and
Verification of Domain-Based Application Service Identity
within Internet Public Key Infrastructure Using X.509
(PKIX) Certificates in the Context of Transport Layer
Security (TLS)", <a href="./rfc6125">RFC 6125</a>, DOI 10.17487/RFC6125, March
2011, <<a href="http://www.rfc-editor.org/info/rfc6125">http://www.rfc-editor.org/info/rfc6125</a>>.
[<a id="ref-RFC6265">RFC6265</a>] Barth, A., "HTTP State Management Mechanism", <a href="./rfc6265">RFC 6265</a>,
DOI 10.17487/RFC6265, April 2011,
<<a href="http://www.rfc-editor.org/info/rfc6265">http://www.rfc-editor.org/info/rfc6265</a>>.
[<a id="ref-RFC6321">RFC6321</a>] Daboo, C., Douglass, M., and S. Lees, "xCal: The XML
Format for iCalendar", <a href="./rfc6321">RFC 6321</a>, DOI 10.17487/RFC6321,
August 2011, <<a href="http://www.rfc-editor.org/info/rfc6321">http://www.rfc-editor.org/info/rfc6321</a>>.
<span class="grey">Douglass & Daboo Standards Track [Page 53]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-54" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
[<a id="ref-RFC6335">RFC6335</a>] Cotton, M., Eggert, L., Touch, J., Westerlund, M., and S.
Cheshire, "Internet Assigned Numbers Authority (IANA)
Procedures for the Management of the Service Name and
Transport Protocol Port Number Registry", <a href="https://www.rfc-editor.org/bcp/bcp165">BCP 165</a>,
<a href="./rfc6335">RFC 6335</a>, DOI 10.17487/RFC6335, August 2011,
<<a href="http://www.rfc-editor.org/info/rfc6335">http://www.rfc-editor.org/info/rfc6335</a>>.
[<a id="ref-RFC6557">RFC6557</a>] Lear, E. and P. Eggert, "Procedures for Maintaining the
Time Zone Database", <a href="https://www.rfc-editor.org/bcp/bcp175">BCP 175</a>, <a href="./rfc6557">RFC 6557</a>,
DOI 10.17487/RFC6557, February 2012,
<<a href="http://www.rfc-editor.org/info/rfc6557">http://www.rfc-editor.org/info/rfc6557</a>>.
[<a id="ref-RFC6570">RFC6570</a>] Gregorio, J., Fielding, R., Hadley, M., Nottingham, M.,
and D. Orchard, "URI Template", <a href="./rfc6570">RFC 6570</a>,
DOI 10.17487/RFC6570, March 2012,
<<a href="http://www.rfc-editor.org/info/rfc6570">http://www.rfc-editor.org/info/rfc6570</a>>.
[<a id="ref-RFC6698">RFC6698</a>] Hoffman, P. and J. Schlyter, "The DNS-Based Authentication
of Named Entities (DANE) Transport Layer Security (TLS)
Protocol: TLSA", <a href="./rfc6698">RFC 6698</a>, DOI 10.17487/RFC6698, August
2012, <<a href="http://www.rfc-editor.org/info/rfc6698">http://www.rfc-editor.org/info/rfc6698</a>>.
[<a id="ref-RFC6763">RFC6763</a>] Cheshire, S. and M. Krochmal, "DNS-Based Service
Discovery", <a href="./rfc6763">RFC 6763</a>, DOI 10.17487/RFC6763, February 2013,
<<a href="http://www.rfc-editor.org/info/rfc6763">http://www.rfc-editor.org/info/rfc6763</a>>.
[<a id="ref-RFC7159">RFC7159</a>] Bray, T., Ed., "The JavaScript Object Notation (JSON) Data
Interchange Format", <a href="./rfc7159">RFC 7159</a>, DOI 10.17487/RFC7159, March
2014, <<a href="http://www.rfc-editor.org/info/rfc7159">http://www.rfc-editor.org/info/rfc7159</a>>.
[<a id="ref-RFC7230">RFC7230</a>] Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer
Protocol (HTTP/1.1): Message Syntax and Routing",
<a href="./rfc7230">RFC 7230</a>, DOI 10.17487/RFC7230, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7230">http://www.rfc-editor.org/info/rfc7230</a>>.
[<a id="ref-RFC7231">RFC7231</a>] Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer
Protocol (HTTP/1.1): Semantics and Content", <a href="./rfc7231">RFC 7231</a>,
DOI 10.17487/RFC7231, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7231">http://www.rfc-editor.org/info/rfc7231</a>>.
[<a id="ref-RFC7232">RFC7232</a>] Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer
Protocol (HTTP/1.1): Conditional Requests", <a href="./rfc7232">RFC 7232</a>,
DOI 10.17487/RFC7232, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7232">http://www.rfc-editor.org/info/rfc7232</a>>.
<span class="grey">Douglass & Daboo Standards Track [Page 54]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-55" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
[<a id="ref-RFC7234">RFC7234</a>] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke,
Ed., "Hypertext Transfer Protocol (HTTP/1.1): Caching",
<a href="./rfc7234">RFC 7234</a>, DOI 10.17487/RFC7234, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7234">http://www.rfc-editor.org/info/rfc7234</a>>.
[<a id="ref-RFC7235">RFC7235</a>] Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer
Protocol (HTTP/1.1): Authentication", <a href="./rfc7235">RFC 7235</a>,
DOI 10.17487/RFC7235, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7235">http://www.rfc-editor.org/info/rfc7235</a>>.
[<a id="ref-RFC7265">RFC7265</a>] Kewisch, P., Daboo, C., and M. Douglass, "jCal: The JSON
Format for iCalendar", <a href="./rfc7265">RFC 7265</a>, DOI 10.17487/RFC7265, May
2014, <<a href="http://www.rfc-editor.org/info/rfc7265">http://www.rfc-editor.org/info/rfc7265</a>>.
[<a id="ref-RFC7525">RFC7525</a>] Sheffer, Y., Holz, R., and P. Saint-Andre,
"Recommendations for Secure Use of Transport Layer
Security (TLS) and Datagram Transport Layer Security
(DTLS)", <a href="https://www.rfc-editor.org/bcp/bcp195">BCP 195</a>, <a href="./rfc7525">RFC 7525</a>, DOI 10.17487/RFC7525, May
2015, <<a href="http://www.rfc-editor.org/info/rfc7525">http://www.rfc-editor.org/info/rfc7525</a>>.
[<a id="ref-RFC7807">RFC7807</a>] Nottingham, M. and E. Wilde, "Problem Details for HTTP
APIs", <a href="./rfc7807">RFC 7807</a>, DOI 10.17487/RFC7807, March 2016,
<<a href="http://www.rfc-editor.org/info/rfc7807">http://www.rfc-editor.org/info/rfc7807</a>>.
<span class="h3"><a class="selflink" id="section-11.2" href="#section-11.2">11.2</a>. Informative References</span>
[<a id="ref-RFC2131">RFC2131</a>] Droms, R., "Dynamic Host Configuration Protocol",
<a href="./rfc2131">RFC 2131</a>, DOI 10.17487/RFC2131, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2131">http://www.rfc-editor.org/info/rfc2131</a>>.
Acknowledgements
The authors would like to thank the members of the Calendaring and
Scheduling Consortium's Time Zone Technical Committee, and the
participants and chairs of the IETF tzdist working group. In
particular, the following individuals have made important
contributions to this work: Steve Allen, Lester Caine, Stephen
Colebourne, Tobias Conradi, Steve Crocker, Paul Eggert, Daniel Kahn
Gillmor, John Haug, Ciny Joy, Bryan Keller, Barry Leiba, Andrew
McMillan, Ken Murchison, Tim Parenti, Arnaud Quillaud, Jose Edvaldo
Saraiva, and Dave Thewlis.
This specification originated from work at the Calendaring and
Scheduling Consortium, which has supported the development and
testing of implementations of the specification.
<span class="grey">Douglass & Daboo Standards Track [Page 55]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-56" ></span>
<span class="grey"><a href="./rfc7808">RFC 7808</a> TZDIST Service March 2016</span>
Authors' Addresses
Michael Douglass
Spherical Cow Group
226 3rd Street
Troy, NY 12180
United States
Email: mdouglass@sphericalcowgroup.com
URI: <a href="http://sphericalcowgroup.com">http://sphericalcowgroup.com</a>
Cyrus Daboo
Apple Inc.
1 Infinite Loop
Cupertino, CA 95014
United States
Email: cyrus@daboo.name
URI: <a href="http://www.apple.com/">http://www.apple.com/</a>
Douglass & Daboo Standards Track [Page 56]
</pre>
|