/usr/share/doc/libjoda-time-java/api/org/joda/time/LocalDate.html is in libjoda-time-java-doc 2.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>LocalDate (Joda-Time 2.4 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="LocalDate (Joda-Time 2.4 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/LocalDate.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/joda/time/JodaTimePermission.html" title="class in org.joda.time"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/joda/time/LocalDate.html" target="_top">Frames</a></li>
<li><a href="LocalDate.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.joda.time</div>
<h2 title="Class LocalDate" class="title">Class LocalDate</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">org.joda.time.base.AbstractPartial</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../org/joda/time/base/BaseLocal.html" title="class in org.joda.time.base">org.joda.time.base.BaseLocal</a></li>
<li>
<ul class="inheritance">
<li>org.joda.time.LocalDate</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a>>, <a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></dd>
</dl>
<hr>
<br>
<pre>public final class <span class="strong">LocalDate</span>
extends <a href="../../../org/joda/time/base/BaseLocal.html" title="class in org.joda.time.base">BaseLocal</a>
implements <a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
<div class="block">LocalDate is an immutable datetime class representing a date
without a time zone.
<p>
LocalDate implements the <a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time"><code>ReadablePartial</code></a> interface.
To do this, the interface methods focus on the key fields -
Year, MonthOfYear and DayOfMonth.
However, <b>all</b> date fields may in fact be queried.
<p>
LocalDate differs from DateMidnight in that this class does not
have a time zone and does not represent a single instant in time.
<p>
Calculations on LocalDate are performed using a <a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time"><code>Chronology</code></a>.
This chronology will be set internally to be in the UTC time zone
for all calculations.
<p>Each individual field can be queried in two ways:
<ul>
<li><code>getMonthOfYear()</code>
<li><code>monthOfYear().get()</code>
</ul>
The second technique also provides access to other useful methods on the
field:
<ul>
<li>numeric value
<li>text value
<li>short text value
<li>maximum/minimum values
<li>add/subtract
<li>set
<li>rounding
</ul>
<p>
LocalDate is thread-safe and immutable, provided that the Chronology is as well.
All standard Chronology classes supplied are thread-safe and immutable.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>1.3</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.joda.time.LocalDate">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></strong></code>
<div class="block">LocalDate.Property binds a LocalDate to a DateTimeField allowing
powerful datetime functionality to be easily accessed.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate()">LocalDate</a></strong>()</code>
<div class="block">Constructs an instance set to the current local time evaluated using
ISO chronology in the default zone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(org.joda.time.Chronology)">LocalDate</a></strong>(<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</code>
<div class="block">Constructs an instance set to the current local time evaluated using
specified chronology.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(org.joda.time.DateTimeZone)">LocalDate</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Constructs an instance set to the current local time evaluated using
ISO chronology in the specified zone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(int,%20int,%20int)">LocalDate</a></strong>(int year,
int monthOfYear,
int dayOfMonth)</code>
<div class="block">Constructs an instance set to the specified date and time
using <code>ISOChronology</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(int,%20int,%20int,%20org.joda.time.Chronology)">LocalDate</a></strong>(int year,
int monthOfYear,
int dayOfMonth,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</code>
<div class="block">Constructs an instance set to the specified date and time
using the specified chronology, whose zone is ignored.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(long)">LocalDate</a></strong>(long instant)</code>
<div class="block">Constructs an instance set to the local time defined by the specified
instant evaluated using ISO chronology in the default zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(long,%20org.joda.time.Chronology)">LocalDate</a></strong>(long instant,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</code>
<div class="block">Constructs an instance set to the local time defined by the specified
instant evaluated using the specified chronology.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(long,%20org.joda.time.DateTimeZone)">LocalDate</a></strong>(long instant,
<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Constructs an instance set to the local time defined by the specified
instant evaluated using ISO chronology in the specified zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(java.lang.Object)">LocalDate</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instant)</code>
<div class="block">Constructs an instance from an Object that represents a datetime.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(java.lang.Object,%20org.joda.time.Chronology)">LocalDate</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instant,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</code>
<div class="block">Constructs an instance from an Object that represents a datetime,
using the specified chronology.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDate.html#LocalDate(java.lang.Object,%20org.joda.time.DateTimeZone)">LocalDate</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instant,
<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Constructs an instance from an Object that represents a datetime,
forcing the time zone to that specified.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#centuryOfEra()">centuryOfEra</a></strong>()</code>
<div class="block">Get the century of era property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#compareTo(org.joda.time.ReadablePartial)">compareTo</a></strong>(<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a> partial)</code>
<div class="block">Compares this partial with another returning an integer
indicating the order.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#dayOfMonth()">dayOfMonth</a></strong>()</code>
<div class="block">Get the day of month property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#dayOfWeek()">dayOfWeek</a></strong>()</code>
<div class="block">Get the day of week property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#dayOfYear()">dayOfYear</a></strong>()</code>
<div class="block">Get the day of year property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> partial)</code>
<div class="block">Compares this ReadablePartial with another returning true if the chronology,
field types and values are equal.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#era()">era</a></strong>()</code>
<div class="block">Get the era property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#fromCalendarFields(java.util.Calendar)">fromCalendarFields</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> calendar)</code>
<div class="block">Constructs a LocalDate from a <code>java.util.Calendar</code>
using exactly the same field values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#fromDateFields(java.util.Date)">fromDateFields</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date)</code>
<div class="block">Constructs a LocalDate from a <code>java.util.Date</code>
using exactly the same field values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#get(org.joda.time.DateTimeFieldType)">get</a></strong>(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> fieldType)</code>
<div class="block">Get the value of one of the fields of a datetime.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getCenturyOfEra()">getCenturyOfEra</a></strong>()</code>
<div class="block">Get the year of era field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getChronology()">getChronology</a></strong>()</code>
<div class="block">Gets the chronology of the date.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getDayOfMonth()">getDayOfMonth</a></strong>()</code>
<div class="block">Get the day of month field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getDayOfWeek()">getDayOfWeek</a></strong>()</code>
<div class="block">Get the day of week field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getDayOfYear()">getDayOfYear</a></strong>()</code>
<div class="block">Get the day of year field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getEra()">getEra</a></strong>()</code>
<div class="block">Get the era field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../org/joda/time/DateTimeField.html" title="class in org.joda.time">DateTimeField</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getField(int,%20org.joda.time.Chronology)">getField</a></strong>(int index,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chrono)</code>
<div class="block">Gets the field for a specific index in the chronology specified.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getLocalMillis()">getLocalMillis</a></strong>()</code>
<div class="block">Gets the local milliseconds from the Java epoch
of 1970-01-01T00:00:00 (not fixed to any specific time zone).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getMonthOfYear()">getMonthOfYear</a></strong>()</code>
<div class="block">Get the month of year field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getValue(int)">getValue</a></strong>(int index)</code>
<div class="block">Gets the value of the field at the specifed index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getWeekOfWeekyear()">getWeekOfWeekyear</a></strong>()</code>
<div class="block">Get the week of weekyear field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getWeekyear()">getWeekyear</a></strong>()</code>
<div class="block">Get the weekyear field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getYear()">getYear</a></strong>()</code>
<div class="block">Get the year field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getYearOfCentury()">getYearOfCentury</a></strong>()</code>
<div class="block">Get the year of century field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#getYearOfEra()">getYearOfEra</a></strong>()</code>
<div class="block">Get the year of era field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#hashCode()">hashCode</a></strong>()</code>
<div class="block">Gets a hash code for the instant as defined in <code>ReadablePartial</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#isSupported(org.joda.time.DateTimeFieldType)">isSupported</a></strong>(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> type)</code>
<div class="block">Checks if the field type specified is supported by this
local date and chronology.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#isSupported(org.joda.time.DurationFieldType)">isSupported</a></strong>(<a href="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</a> type)</code>
<div class="block">Checks if the duration type specified is supported by this
local date and chronology.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#minus(org.joda.time.ReadablePeriod)">minus</a></strong>(<a href="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</a> period)</code>
<div class="block">Returns a copy of this date with the specified period taken away.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#minusDays(int)">minusDays</a></strong>(int days)</code>
<div class="block">Returns a copy of this date minus the specified number of days.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#minusMonths(int)">minusMonths</a></strong>(int months)</code>
<div class="block">Returns a copy of this date minus the specified number of months.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#minusWeeks(int)">minusWeeks</a></strong>(int weeks)</code>
<div class="block">Returns a copy of this date minus the specified number of weeks.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#minusYears(int)">minusYears</a></strong>(int years)</code>
<div class="block">Returns a copy of this date minus the specified number of years.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#monthOfYear()">monthOfYear</a></strong>()</code>
<div class="block">Get the month of year property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#now()">now</a></strong>()</code>
<div class="block">Obtains a <code>LocalDate</code> set to the current system millisecond time
using <code>ISOChronology</code> in the default time zone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#now(org.joda.time.Chronology)">now</a></strong>(<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</code>
<div class="block">Obtains a <code>LocalDate</code> set to the current system millisecond time
using the specified chronology.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#now(org.joda.time.DateTimeZone)">now</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Obtains a <code>LocalDate</code> set to the current system millisecond time
using <code>ISOChronology</code> in the specified time zone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#parse(java.lang.String)">parse</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</code>
<div class="block">Parses a <code>LocalDate</code> from the specified string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#parse(java.lang.String,%20org.joda.time.format.DateTimeFormatter)">parse</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str,
<a href="../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</a> formatter)</code>
<div class="block">Parses a <code>LocalDate</code> from the specified string using a formatter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#plus(org.joda.time.ReadablePeriod)">plus</a></strong>(<a href="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</a> period)</code>
<div class="block">Returns a copy of this date with the specified period added.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#plusDays(int)">plusDays</a></strong>(int days)</code>
<div class="block">Returns a copy of this date plus the specified number of days.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#plusMonths(int)">plusMonths</a></strong>(int months)</code>
<div class="block">Returns a copy of this date plus the specified number of months.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#plusWeeks(int)">plusWeeks</a></strong>(int weeks)</code>
<div class="block">Returns a copy of this date plus the specified number of weeks.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#plusYears(int)">plusYears</a></strong>(int years)</code>
<div class="block">Returns a copy of this date plus the specified number of years.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#property(org.joda.time.DateTimeFieldType)">property</a></strong>(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> fieldType)</code>
<div class="block">Gets the property object for the specified type, which contains many
useful methods.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#size()">size</a></strong>()</code>
<div class="block">Gets the number of fields in this partial, which is three.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDate()">toDate</a></strong>()</code>
<div class="block">Get the date time as a <code>java.util.Date</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateMidnight.html" title="class in org.joda.time">DateMidnight</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateMidnight()">toDateMidnight</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>DateMidnight is deprecated</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateMidnight.html" title="class in org.joda.time">DateMidnight</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateMidnight(org.joda.time.DateTimeZone)">toDateMidnight</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>DateMidnight is deprecated</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTime(org.joda.time.LocalTime)">toDateTime</a></strong>(<a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> time)</code>
<div class="block">Converts this object to a DateTime using a LocalTime to fill in the
missing fields and using the default time zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTime(org.joda.time.LocalTime,%20org.joda.time.DateTimeZone)">toDateTime</a></strong>(<a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> time,
<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Converts this object to a DateTime using a LocalTime to fill in the
missing fields.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTimeAtCurrentTime()">toDateTimeAtCurrentTime</a></strong>()</code>
<div class="block">Converts this LocalDate to a full datetime using the default time zone
setting the date fields from this instance and the time fields from
the current time.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTimeAtCurrentTime(org.joda.time.DateTimeZone)">toDateTimeAtCurrentTime</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Converts this LocalDate to a full datetime using the specified time zone
setting the date fields from this instance and the time fields from
the current time.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTimeAtMidnight()">toDateTimeAtMidnight</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay()"><code>toDateTimeAtStartOfDay()</code></a> which won't throw an exception</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTimeAtMidnight(org.joda.time.DateTimeZone)">toDateTimeAtMidnight</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay(org.joda.time.DateTimeZone)"><code>toDateTimeAtStartOfDay(DateTimeZone)</code></a> which won't throw an exception</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay()">toDateTimeAtStartOfDay</a></strong>()</code>
<div class="block">Converts this LocalDate to a full datetime at the earliest valid time
for the date using the default time zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay(org.joda.time.DateTimeZone)">toDateTimeAtStartOfDay</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Converts this LocalDate to a full datetime at the earliest valid time
for the date using the specified time zone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/Interval.html" title="class in org.joda.time">Interval</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toInterval()">toInterval</a></strong>()</code>
<div class="block">Converts this object to an Interval representing the whole day
in the default time zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/Interval.html" title="class in org.joda.time">Interval</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toInterval(org.joda.time.DateTimeZone)">toInterval</a></strong>(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</code>
<div class="block">Converts this object to an Interval representing the whole day.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toLocalDateTime(org.joda.time.LocalTime)">toLocalDateTime</a></strong>(<a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> time)</code>
<div class="block">Converts this object to a LocalDateTime using a LocalTime to fill in
the missing fields.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toString()">toString</a></strong>()</code>
<div class="block">Output the date time in ISO8601 format (yyyy-MM-dd).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toString(java.lang.String)">toString</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pattern)</code>
<div class="block">Output the date using the specified format pattern.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#toString(java.lang.String,%20java.util.Locale)">toString</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pattern,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)</code>
<div class="block">Output the date using the specified format pattern.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#weekOfWeekyear()">weekOfWeekyear</a></strong>()</code>
<div class="block">Get the week of a week based year property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#weekyear()">weekyear</a></strong>()</code>
<div class="block">Get the weekyear property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withCenturyOfEra(int)">withCenturyOfEra</a></strong>(int centuryOfEra)</code>
<div class="block">Returns a copy of this date with the century of era field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withDayOfMonth(int)">withDayOfMonth</a></strong>(int dayOfMonth)</code>
<div class="block">Returns a copy of this date with the day of month field updated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withDayOfWeek(int)">withDayOfWeek</a></strong>(int dayOfWeek)</code>
<div class="block">Returns a copy of this date with the day of week field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withDayOfYear(int)">withDayOfYear</a></strong>(int dayOfYear)</code>
<div class="block">Returns a copy of this date with the day of year field updated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withEra(int)">withEra</a></strong>(int era)</code>
<div class="block">Returns a copy of this date with the era field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withField(org.joda.time.DateTimeFieldType,%20int)">withField</a></strong>(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> fieldType,
int value)</code>
<div class="block">Returns a copy of this date with the specified field set to a new value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withFieldAdded(org.joda.time.DurationFieldType,%20int)">withFieldAdded</a></strong>(<a href="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</a> fieldType,
int amount)</code>
<div class="block">Returns a copy of this date with the value of the specified field increased.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withFields(org.joda.time.ReadablePartial)">withFields</a></strong>(<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a> partial)</code>
<div class="block">Returns a copy of this date with the partial set of fields replacing
those from this instance.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withMonthOfYear(int)">withMonthOfYear</a></strong>(int monthOfYear)</code>
<div class="block">Returns a copy of this date with the month of year field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withPeriodAdded(org.joda.time.ReadablePeriod,%20int)">withPeriodAdded</a></strong>(<a href="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</a> period,
int scalar)</code>
<div class="block">Returns a copy of this date with the specified period added.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withWeekOfWeekyear(int)">withWeekOfWeekyear</a></strong>(int weekOfWeekyear)</code>
<div class="block">Returns a copy of this date with the week of weekyear field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withWeekyear(int)">withWeekyear</a></strong>(int weekyear)</code>
<div class="block">Returns a copy of this date with the weekyear field updated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withYear(int)">withYear</a></strong>(int year)</code>
<div class="block">Returns a copy of this date with the year field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withYearOfCentury(int)">withYearOfCentury</a></strong>(int yearOfCentury)</code>
<div class="block">Returns a copy of this date with the year of century field updated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#withYearOfEra(int)">withYearOfEra</a></strong>(int yearOfEra)</code>
<div class="block">Returns a copy of this date with the year of era field updated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#year()">year</a></strong>()</code>
<div class="block">Get the year property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#yearOfCentury()">yearOfCentury</a></strong>()</code>
<div class="block">Get the year of century property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDate.html#yearOfEra()">yearOfEra</a></strong>()</code>
<div class="block">Get the year of era property which provides access to advanced functionality.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.joda.time.base.AbstractPartial">
<!-- -->
</a>
<h3>Methods inherited from class org.joda.time.base.<a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></h3>
<code><a href="../../../org/joda/time/base/AbstractPartial.html#getField(int)">getField</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#getFields()">getFields</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#getFieldType(int)">getFieldType</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#getFieldTypes()">getFieldTypes</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#getValues()">getValues</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#indexOf(org.joda.time.DateTimeFieldType)">indexOf</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#indexOf(org.joda.time.DurationFieldType)">indexOf</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#indexOfSupported(org.joda.time.DateTimeFieldType)">indexOfSupported</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#indexOfSupported(org.joda.time.DurationFieldType)">indexOfSupported</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#isAfter(org.joda.time.ReadablePartial)">isAfter</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#isBefore(org.joda.time.ReadablePartial)">isBefore</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#isEqual(org.joda.time.ReadablePartial)">isEqual</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#toDateTime(org.joda.time.ReadableInstant)">toDateTime</a>, <a href="../../../org/joda/time/base/AbstractPartial.html#toString(org.joda.time.format.DateTimeFormatter)">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.joda.time.ReadablePartial">
<!-- -->
</a>
<h3>Methods inherited from interface org.joda.time.<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></h3>
<code><a href="../../../org/joda/time/ReadablePartial.html#getField(int)">getField</a>, <a href="../../../org/joda/time/ReadablePartial.html#getFieldType(int)">getFieldType</a>, <a href="../../../org/joda/time/ReadablePartial.html#toDateTime(org.joda.time.ReadableInstant)">toDateTime</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="LocalDate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate()</pre>
<div class="block">Constructs an instance set to the current local time evaluated using
ISO chronology in the default zone.
<p>
Once the constructor is completed, the zone is no longer used.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/joda/time/LocalDate.html#now()"><code>now()</code></a></dd></dl>
</li>
</ul>
<a name="LocalDate(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Constructs an instance set to the current local time evaluated using
ISO chronology in the specified zone.
<p>
If the specified time zone is null, the default zone is used.
Once the constructor is completed, the zone is no longer used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the time zone, null means default zone</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/joda/time/LocalDate.html#now(org.joda.time.DateTimeZone)"><code>now(DateTimeZone)</code></a></dd></dl>
</li>
</ul>
<a name="LocalDate(org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</pre>
<div class="block">Constructs an instance set to the current local time evaluated using
specified chronology.
<p>
If the chronology is null, ISO chronology in the default time zone is used.
Once the constructor is completed, the zone is no longer used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chronology</code> - the chronology, null means ISOChronology in default zone</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/joda/time/LocalDate.html#now(org.joda.time.Chronology)"><code>now(Chronology)</code></a></dd></dl>
</li>
</ul>
<a name="LocalDate(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(long instant)</pre>
<div class="block">Constructs an instance set to the local time defined by the specified
instant evaluated using ISO chronology in the default zone.
<p>
Once the constructor is completed, the zone is no longer used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instant</code> - the milliseconds from 1970-01-01T00:00:00Z</dd></dl>
</li>
</ul>
<a name="LocalDate(long, org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(long instant,
<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Constructs an instance set to the local time defined by the specified
instant evaluated using ISO chronology in the specified zone.
<p>
If the specified time zone is null, the default zone is used.
Once the constructor is completed, the zone is no longer used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instant</code> - the milliseconds from 1970-01-01T00:00:00Z</dd><dd><code>zone</code> - the time zone, null means default zone</dd></dl>
</li>
</ul>
<a name="LocalDate(long, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(long instant,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</pre>
<div class="block">Constructs an instance set to the local time defined by the specified
instant evaluated using the specified chronology.
<p>
If the chronology is null, ISO chronology in the default zone is used.
Once the constructor is completed, the zone is no longer used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instant</code> - the milliseconds from 1970-01-01T00:00:00Z</dd><dd><code>chronology</code> - the chronology, null means ISOChronology in default zone</dd></dl>
</li>
</ul>
<a name="LocalDate(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instant)</pre>
<div class="block">Constructs an instance from an Object that represents a datetime.
The time zone will be retrieved from the object if possible,
otherwise the default time zone will be used.
<p>
If the object contains no chronology, <code>ISOChronology</code> is used.
Once the constructor is completed, the zone is no longer used.
<p>
The recognised object types are defined in
<a href="../../../org/joda/time/convert/ConverterManager.html" title="class in org.joda.time.convert"><code>ConverterManager</code></a> and
include ReadablePartial, ReadableInstant, String, Calendar and Date.
The String formats are described by <a href="../../../org/joda/time/format/ISODateTimeFormat.html#localDateParser()"><code>ISODateTimeFormat.localDateParser()</code></a>.
The default String converter ignores the zone and only parses the field values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instant</code> - the datetime object</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the instant is invalid</dd></dl>
</li>
</ul>
<a name="LocalDate(java.lang.Object, org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instant,
<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Constructs an instance from an Object that represents a datetime,
forcing the time zone to that specified.
<p>
If the object contains no chronology, <code>ISOChronology</code> is used.
If the specified time zone is null, the default zone is used.
Once the constructor is completed, the zone is no longer used.
<p>
The recognised object types are defined in
<a href="../../../org/joda/time/convert/ConverterManager.html" title="class in org.joda.time.convert"><code>ConverterManager</code></a> and
include ReadablePartial, ReadableInstant, String, Calendar and Date.
The String formats are described by <a href="../../../org/joda/time/format/ISODateTimeFormat.html#localDateParser()"><code>ISODateTimeFormat.localDateParser()</code></a>.
The default String converter ignores the zone and only parses the field values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instant</code> - the datetime object</dd><dd><code>zone</code> - the time zone</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the instant is invalid</dd></dl>
</li>
</ul>
<a name="LocalDate(java.lang.Object, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> instant,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</pre>
<div class="block">Constructs an instance from an Object that represents a datetime,
using the specified chronology.
<p>
If the chronology is null, ISO in the default time zone is used.
Once the constructor is completed, the zone is no longer used.
If the instant contains a chronology, it will be ignored.
For example, passing a <code>LocalDate</code> and a different chronology
will return a date with the year/month/day from the date applied
unaltered to the specified chronology.
<p>
The recognised object types are defined in
<a href="../../../org/joda/time/convert/ConverterManager.html" title="class in org.joda.time.convert"><code>ConverterManager</code></a> and
include ReadablePartial, ReadableInstant, String, Calendar and Date.
The String formats are described by <a href="../../../org/joda/time/format/ISODateTimeFormat.html#localDateParser()"><code>ISODateTimeFormat.localDateParser()</code></a>.
The default String converter ignores the zone and only parses the field values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>instant</code> - the datetime object</dd><dd><code>chronology</code> - the chronology</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the instant is invalid</dd></dl>
</li>
</ul>
<a name="LocalDate(int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(int year,
int monthOfYear,
int dayOfMonth)</pre>
<div class="block">Constructs an instance set to the specified date and time
using <code>ISOChronology</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>year</code> - the year</dd><dd><code>monthOfYear</code> - the month of the year, from 1 to 12</dd><dd><code>dayOfMonth</code> - the day of the month, from 1 to 31</dd></dl>
</li>
</ul>
<a name="LocalDate(int, int, int, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LocalDate</h4>
<pre>public LocalDate(int year,
int monthOfYear,
int dayOfMonth,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</pre>
<div class="block">Constructs an instance set to the specified date and time
using the specified chronology, whose zone is ignored.
<p>
If the chronology is null, <code>ISOChronology</code> is used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>year</code> - the year, valid values defined by the chronology</dd><dd><code>monthOfYear</code> - the month of the year, valid values defined by the chronology</dd><dd><code>dayOfMonth</code> - the day of the month, valid values defined by the chronology</dd><dd><code>chronology</code> - the chronology, null means ISOChronology in default zone</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="now()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>now</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> now()</pre>
<div class="block">Obtains a <code>LocalDate</code> set to the current system millisecond time
using <code>ISOChronology</code> in the default time zone.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current date-time, not null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="now(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>now</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> now(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Obtains a <code>LocalDate</code> set to the current system millisecond time
using <code>ISOChronology</code> in the specified time zone.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the time zone, not null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the current date-time, not null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="now(org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>now</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> now(<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chronology)</pre>
<div class="block">Obtains a <code>LocalDate</code> set to the current system millisecond time
using the specified chronology.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>chronology</code> - the chronology, not null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the current date-time, not null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="parse(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> parse(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</pre>
<div class="block">Parses a <code>LocalDate</code> from the specified string.
<p>
This uses <a href="../../../org/joda/time/format/ISODateTimeFormat.html#localDateParser()"><code>ISODateTimeFormat.localDateParser()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the string to parse, not null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="parse(java.lang.String, org.joda.time.format.DateTimeFormatter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> parse(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str,
<a href="../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</a> formatter)</pre>
<div class="block">Parses a <code>LocalDate</code> from the specified string using a formatter.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the string to parse, not null</dd><dd><code>formatter</code> - the formatter to use, not null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="fromCalendarFields(java.util.Calendar)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromCalendarFields</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> fromCalendarFields(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> calendar)</pre>
<div class="block">Constructs a LocalDate from a <code>java.util.Calendar</code>
using exactly the same field values.
<p>
Each field is queried from the Calendar and assigned to the LocalDate.
This is useful if you have been using the Calendar as a local date,
ignoring the zone.
<p>
One advantage of this method is that this method is unaffected if the
version of the time zone data differs between the JDK and Joda-Time.
That is because the local field values are transferred, calculated using
the JDK time zone data and without using the Joda-Time time zone data.
<p>
This factory method ignores the type of the calendar and always
creates a LocalDate with ISO chronology. It is expected that you
will only pass in instances of <code>GregorianCalendar</code> however
this is not validated.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>calendar</code> - the Calendar to extract fields from, not null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the created local date, not null</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the calendar is null</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the date is invalid for the ISO chronology</dd></dl>
</li>
</ul>
<a name="fromDateFields(java.util.Date)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromDateFields</h4>
<pre>public static <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> fromDateFields(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date)</pre>
<div class="block">Constructs a LocalDate from a <code>java.util.Date</code>
using exactly the same field values.
<p>
Each field is queried from the Date and assigned to the LocalDate.
This is useful if you have been using the Date as a local date,
ignoring the zone.
<p>
One advantage of this method is that this method is unaffected if the
version of the time zone data differs between the JDK and Joda-Time.
That is because the local field values are transferred, calculated using
the JDK time zone data and without using the Joda-Time time zone data.
<p>
This factory method always creates a LocalDate with ISO chronology.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - the Date to extract fields from, not null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the created local date, not null</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the calendar is null</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the date is invalid for the ISO chronology</dd></dl>
</li>
</ul>
<a name="size()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public int size()</pre>
<div class="block">Gets the number of fields in this partial, which is three.
The supported fields are Year, MonthOfYear and DayOfMonth.
Note that all fields from day and above may in fact be queried via
other methods.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#size()">size</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the field count, three</dd></dl>
</li>
</ul>
<a name="getField(int, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getField</h4>
<pre>protected <a href="../../../org/joda/time/DateTimeField.html" title="class in org.joda.time">DateTimeField</a> getField(int index,
<a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> chrono)</pre>
<div class="block">Gets the field for a specific index in the chronology specified.
<p>
This method must not use any instance variables.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/AbstractPartial.html#getField(int,%20org.joda.time.Chronology)">getField</a></code> in class <code><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index to retrieve</dd><dd><code>chrono</code> - the chronology to use</dd>
<dt><span class="strong">Returns:</span></dt><dd>the field</dd></dl>
</li>
</ul>
<a name="getValue(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public int getValue(int index)</pre>
<div class="block">Gets the value of the field at the specifed index.
<p>
This method is required to support the <code>ReadablePartial</code>
interface. The supported fields are Year, MonthOfYear and DayOfMonth.
Note that all fields from day and above may in fact be queried via
other methods.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#getValue(int)">getValue</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - the index, zero to two</dd>
<dt><span class="strong">Returns:</span></dt><dd>the value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is invalid</dd></dl>
</li>
</ul>
<a name="get(org.joda.time.DateTimeFieldType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public int get(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> fieldType)</pre>
<div class="block">Get the value of one of the fields of a datetime.
<p>
This method gets the value of the specified field.
For example:
<pre>
LocalDate dt = LocalDate.nowDefaultZone();
int year = dt.get(DateTimeFieldType.year());
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#get(org.joda.time.DateTimeFieldType)">get</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/AbstractPartial.html#get(org.joda.time.DateTimeFieldType)">get</a></code> in class <code><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>fieldType</code> - a field type, usually obtained from DateTimeFieldType, not null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the value of that field</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the field type is null or unsupported</dd></dl>
</li>
</ul>
<a name="isSupported(org.joda.time.DateTimeFieldType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSupported</h4>
<pre>public boolean isSupported(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> type)</pre>
<div class="block">Checks if the field type specified is supported by this
local date and chronology.
This can be used to avoid exceptions in <a href="../../../org/joda/time/LocalDate.html#get(org.joda.time.DateTimeFieldType)"><code>get(DateTimeFieldType)</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#isSupported(org.joda.time.DateTimeFieldType)">isSupported</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/AbstractPartial.html#isSupported(org.joda.time.DateTimeFieldType)">isSupported</a></code> in class <code><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - a field type, usually obtained from DateTimeFieldType</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the field type is supported</dd></dl>
</li>
</ul>
<a name="isSupported(org.joda.time.DurationFieldType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSupported</h4>
<pre>public boolean isSupported(<a href="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</a> type)</pre>
<div class="block">Checks if the duration type specified is supported by this
local date and chronology.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - a duration type, usually obtained from DurationFieldType</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the field type is supported</dd></dl>
</li>
</ul>
<a name="getLocalMillis()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalMillis</h4>
<pre>protected long getLocalMillis()</pre>
<div class="block">Gets the local milliseconds from the Java epoch
of 1970-01-01T00:00:00 (not fixed to any specific time zone).</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/BaseLocal.html#getLocalMillis()">getLocalMillis</a></code> in class <code><a href="../../../org/joda/time/base/BaseLocal.html" title="class in org.joda.time.base">BaseLocal</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the number of milliseconds since 1970-01-01T00:00:00</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5 (previously private)</dd></dl>
</li>
</ul>
<a name="getChronology()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChronology</h4>
<pre>public <a href="../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</a> getChronology()</pre>
<div class="block">Gets the chronology of the date.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#getChronology()">getChronology</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the Chronology that the date is using</dd></dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> partial)</pre>
<div class="block">Compares this ReadablePartial with another returning true if the chronology,
field types and values are equal.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#equals(java.lang.Object)">equals</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/AbstractPartial.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>partial</code> - an object to check against</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if fields and values are equal</dd></dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public int hashCode()</pre>
<div class="block">Gets a hash code for the instant as defined in <code>ReadablePartial</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#hashCode()">hashCode</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/AbstractPartial.html#hashCode()">hashCode</a></code> in class <code><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a suitable hash code</dd></dl>
</li>
</ul>
<a name="compareTo(org.joda.time.ReadablePartial)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public int compareTo(<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a> partial)</pre>
<div class="block">Compares this partial with another returning an integer
indicating the order.
<p>
The fields are compared in order, from largest to smallest.
The first field that is non-equal is used to determine the result.
<p>
The specified object must be a partial instance whose field types
match those of this partial.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true#compareTo(T)" title="class or interface in java.lang">compareTo</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a>></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../org/joda/time/base/AbstractPartial.html#compareTo(org.joda.time.ReadablePartial)">compareTo</a></code> in class <code><a href="../../../org/joda/time/base/AbstractPartial.html" title="class in org.joda.time.base">AbstractPartial</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>partial</code> - an object to check against</dd>
<dt><span class="strong">Returns:</span></dt><dd>negative if this is less, zero if equal, positive if greater</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</a></code> - if the partial is the wrong class
or if it has field types that don't match</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the partial is null</dd></dl>
</li>
</ul>
<a name="toDateTimeAtStartOfDay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTimeAtStartOfDay</h4>
<pre>public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTimeAtStartOfDay()</pre>
<div class="block">Converts this LocalDate to a full datetime at the earliest valid time
for the date using the default time zone.
<p>
The time will normally be midnight, as that is the earliest time on
any given day. However, in some time zones when Daylight Savings Time
starts, there is no midnight because time jumps from 11:59 to 01:00.
This method handles that situation by returning 01:00 on that date.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>this date as a datetime at the start of the day</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5</dd></dl>
</li>
</ul>
<a name="toDateTimeAtStartOfDay(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTimeAtStartOfDay</h4>
<pre>public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTimeAtStartOfDay(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Converts this LocalDate to a full datetime at the earliest valid time
for the date using the specified time zone.
<p>
The time will normally be midnight, as that is the earliest time on
any given day. However, in some time zones when Daylight Savings Time
starts, there is no midnight because time jumps from 11:59 to 01:00.
This method handles that situation by returning 01:00 on that date.
<p>
This method uses the chronology from this instance plus the time zone
specified.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the zone to use, null means default zone</dd>
<dt><span class="strong">Returns:</span></dt><dd>this date as a datetime at the start of the day</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5</dd></dl>
</li>
</ul>
<a name="toDateTimeAtMidnight()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTimeAtMidnight</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTimeAtMidnight()</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay()"><code>toDateTimeAtStartOfDay()</code></a> which won't throw an exception</i></div>
<div class="block">Converts this LocalDate to a full datetime at midnight using the default
time zone.
<p>
This method will throw an exception if the default time zone switches
to Daylight Savings Time at midnight and this LocalDate represents
that switchover date. The problem is that there is no such time as
midnight on the required date, and as such an exception is thrown.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>this date as a datetime at midnight</dd></dl>
</li>
</ul>
<a name="toDateTimeAtMidnight(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTimeAtMidnight</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTimeAtMidnight(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay(org.joda.time.DateTimeZone)"><code>toDateTimeAtStartOfDay(DateTimeZone)</code></a> which won't throw an exception</i></div>
<div class="block">Converts this LocalDate to a full datetime at midnight using the
specified time zone.
<p>
This method will throw an exception if the time zone switches
to Daylight Savings Time at midnight and this LocalDate represents
that switchover date. The problem is that there is no such time as
midnight on the required date, and as such an exception is thrown.
<p>
This method uses the chronology from this instance plus the time zone
specified.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the zone to use, null means default zone</dd>
<dt><span class="strong">Returns:</span></dt><dd>this date as a datetime at midnight</dd></dl>
</li>
</ul>
<a name="toDateTimeAtCurrentTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTimeAtCurrentTime</h4>
<pre>public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTimeAtCurrentTime()</pre>
<div class="block">Converts this LocalDate to a full datetime using the default time zone
setting the date fields from this instance and the time fields from
the current time.
<p>
This method will throw an exception if the datetime that would be
created does not exist when the time zone is taken into account.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>this date as a datetime with the time as the current time</dd></dl>
</li>
</ul>
<a name="toDateTimeAtCurrentTime(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTimeAtCurrentTime</h4>
<pre>public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTimeAtCurrentTime(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Converts this LocalDate to a full datetime using the specified time zone
setting the date fields from this instance and the time fields from
the current time.
<p>
This method uses the chronology from this instance plus the time zone
specified.
<p>
This method will throw an exception if the datetime that would be
created does not exist when the time zone is taken into account.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the zone to use, null means default zone</dd>
<dt><span class="strong">Returns:</span></dt><dd>this date as a datetime with the time as the current time</dd></dl>
</li>
</ul>
<a name="toDateMidnight()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateMidnight</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public <a href="../../../org/joda/time/DateMidnight.html" title="class in org.joda.time">DateMidnight</a> toDateMidnight()</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>DateMidnight is deprecated</i></div>
<div class="block">Converts this LocalDate to a DateMidnight in the default time zone.
<p>
As from v1.5, you are recommended to avoid DateMidnight and use
<a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay()"><code>toDateTimeAtStartOfDay()</code></a> instead because of the exception
detailed below.
<p>
This method will throw an exception if the default time zone switches
to Daylight Savings Time at midnight and this LocalDate represents
that switchover date. The problem is that there is no such time as
midnight on the required date, and as such an exception is thrown.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the DateMidnight instance in the default zone</dd></dl>
</li>
</ul>
<a name="toDateMidnight(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateMidnight</h4>
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public <a href="../../../org/joda/time/DateMidnight.html" title="class in org.joda.time">DateMidnight</a> toDateMidnight(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>DateMidnight is deprecated</i></div>
<div class="block">Converts this LocalDate to a DateMidnight.
<p>
As from v1.5, you are recommended to avoid DateMidnight and use
<a href="../../../org/joda/time/LocalDate.html#toDateTimeAtStartOfDay()"><code>toDateTimeAtStartOfDay()</code></a> instead because of the exception
detailed below.
<p>
This method will throw an exception if the time zone switches
to Daylight Savings Time at midnight and this LocalDate represents
that switchover date. The problem is that there is no such time as
midnight on the required date, and as such an exception is thrown.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the zone to get the DateMidnight in, null means default zone</dd>
<dt><span class="strong">Returns:</span></dt><dd>the DateMidnight instance</dd></dl>
</li>
</ul>
<a name="toLocalDateTime(org.joda.time.LocalTime)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toLocalDateTime</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> toLocalDateTime(<a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> time)</pre>
<div class="block">Converts this object to a LocalDateTime using a LocalTime to fill in
the missing fields.
<p>
The resulting chronology is determined by the chronology of this
LocalDate. The chronology of the time must also match.
If the time is null an exception is thrown.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - the time of day to use, must not be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the LocalDateTime instance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the time is null</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the chronology of the time does not match</dd><dt><span class="strong">Since:</span></dt>
<dd>1.5</dd></dl>
</li>
</ul>
<a name="toDateTime(org.joda.time.LocalTime)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTime</h4>
<pre>public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTime(<a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> time)</pre>
<div class="block">Converts this object to a DateTime using a LocalTime to fill in the
missing fields and using the default time zone.
<p>
The resulting chronology is determined by the chronology of this
LocalDate. The chronology of the time must match.
If the time is null, the current time in the date's chronology is used.
<p>
This method will throw an exception if the datetime that would be
created does not exist when the time zone is taken into account.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - the time of day to use, null means current time</dd>
<dt><span class="strong">Returns:</span></dt><dd>the DateTime instance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the chronology of the time does not match</dd></dl>
</li>
</ul>
<a name="toDateTime(org.joda.time.LocalTime, org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDateTime</h4>
<pre>public <a href="../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</a> toDateTime(<a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> time,
<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Converts this object to a DateTime using a LocalTime to fill in the
missing fields.
<p>
The resulting chronology is determined by the chronology of this
LocalDate plus the time zone. The chronology of the time must match.
If the time is null, the current time in the date's chronology is used.
<p>
This method will throw an exception if the datetime that would be
created does not exist when the time zone is taken into account.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - the time of day to use, null means current time</dd><dd><code>zone</code> - the zone to get the DateTime in, null means default</dd>
<dt><span class="strong">Returns:</span></dt><dd>the DateTime instance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the chronology of the time does not match</dd></dl>
</li>
</ul>
<a name="toInterval()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toInterval</h4>
<pre>public <a href="../../../org/joda/time/Interval.html" title="class in org.joda.time">Interval</a> toInterval()</pre>
<div class="block">Converts this object to an Interval representing the whole day
in the default time zone.
<p>
The interval may have more or less than 24 hours if this is a daylight
savings cutover date.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a interval over the day</dd></dl>
</li>
</ul>
<a name="toInterval(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toInterval</h4>
<pre>public <a href="../../../org/joda/time/Interval.html" title="class in org.joda.time">Interval</a> toInterval(<a href="../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Converts this object to an Interval representing the whole day.
<p>
The interval may have more or less than 24 hours if this is a daylight
savings cutover date.
<p>
This instance is immutable and unaffected by this method call.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - the zone to get the Interval in, null means default</dd>
<dt><span class="strong">Returns:</span></dt><dd>a interval over the day</dd></dl>
</li>
</ul>
<a name="toDate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDate</h4>
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> toDate()</pre>
<div class="block">Get the date time as a <code>java.util.Date</code>.
<p>
The <code>Date</code> object created has exactly the same year, month and day
as this date. The time will be set to the earliest valid time for that date.
<p>
Converting to a JDK Date is full of complications as the JDK Date constructor
doesn't behave as you might expect around DST transitions. This method works
by taking a first guess and then adjusting the JDK date until it has the
earliest valid instant. This also handles the situation where the JDK time
zone data differs from the Joda-Time time zone data.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a Date initialised with this date, never null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="withFields(org.joda.time.ReadablePartial)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withFields</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withFields(<a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a> partial)</pre>
<div class="block">Returns a copy of this date with the partial set of fields replacing
those from this instance.
<p>
For example, if the partial contains a year and a month then those two
fields will be changed in the returned instance.
Unsupported fields are ignored.
If the partial is null, then <code>this</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>partial</code> - the partial set of fields to apply to this date, null ignored</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this date with a different set of fields</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any value is invalid</dd></dl>
</li>
</ul>
<a name="withField(org.joda.time.DateTimeFieldType, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withField</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withField(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> fieldType,
int value)</pre>
<div class="block">Returns a copy of this date with the specified field set to a new value.
<p>
For example, if the field type is <code>monthOfYear</code> then the
month of year field will be changed in the returned instance.
If the field type is null, then <code>this</code> is returned.
<p>
These two lines are equivalent:
<pre>
LocalDate updated = dt.withDayOfMonth(6);
LocalDate updated = dt.withField(DateTimeFieldType.dayOfMonth(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldType</code> - the field type to set, not null</dd><dd><code>value</code> - the value to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this date with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the field is null or unsupported</dd></dl>
</li>
</ul>
<a name="withFieldAdded(org.joda.time.DurationFieldType, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withFieldAdded</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withFieldAdded(<a href="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</a> fieldType,
int amount)</pre>
<div class="block">Returns a copy of this date with the value of the specified field increased.
<p>
If the addition is zero or the field is null, then <code>this</code> is returned.
<p>
These three lines are equivalent:
<pre>
LocalDate added = dt.withFieldAdded(DurationFieldType.years(), 6);
LocalDate added = dt.plusYears(6);
LocalDate added = dt.plus(Period.years(6));
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldType</code> - the field type to add to, not null</dd><dd><code>amount</code> - the amount to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this date with the field updated</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the field is null or unsupported</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ArithmeticException.html?is-external=true" title="class or interface in java.lang">ArithmeticException</a></code> - if the result exceeds the internal capacity</dd></dl>
</li>
</ul>
<a name="withPeriodAdded(org.joda.time.ReadablePeriod, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withPeriodAdded</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withPeriodAdded(<a href="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</a> period,
int scalar)</pre>
<div class="block">Returns a copy of this date with the specified period added.
<p>
If the addition is zero, then <code>this</code> is returned.
<p>
This method is typically used to add multiple copies of complex
period instances. Adding one field is best achieved using methods
like <a href="../../../org/joda/time/LocalDate.html#withFieldAdded(org.joda.time.DurationFieldType,%20int)"><code>withFieldAdded(DurationFieldType, int)</code></a>
or <a href="../../../org/joda/time/LocalDate.html#plusYears(int)"><code>plusYears(int)</code></a>.
<p>
Unsupported time fields are ignored, thus adding a period of 24 hours
will not have any effect.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>period</code> - the period to add to this one, null means zero</dd><dd><code>scalar</code> - the amount of times to add, such as -1 to subtract once</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this date with the period added</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ArithmeticException.html?is-external=true" title="class or interface in java.lang">ArithmeticException</a></code> - if the result exceeds the internal capacity</dd></dl>
</li>
</ul>
<a name="plus(org.joda.time.ReadablePeriod)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> plus(<a href="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</a> period)</pre>
<div class="block">Returns a copy of this date with the specified period added.
<p>
If the amount is zero or null, then <code>this</code> is returned.
<p>
This method is typically used to add complex period instances.
Adding one field is best achieved using methods
like <a href="../../../org/joda/time/LocalDate.html#plusYears(int)"><code>plusYears(int)</code></a>.
<p>
Unsupported time fields are ignored, thus adding a period of 24 hours
will not have any effect.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>period</code> - the period to add to this one, null means zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this date with the period added</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ArithmeticException.html?is-external=true" title="class or interface in java.lang">ArithmeticException</a></code> - if the result exceeds the internal capacity</dd></dl>
</li>
</ul>
<a name="plusYears(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusYears</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> plusYears(int years)</pre>
<div class="block">Returns a copy of this date plus the specified number of years.
<p>
This adds the specified number of years to the date.
If adding years makes the day-of-month invalid, it is adjusted to the last valid day in the month.
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate added = dt.plusYears(6);
LocalDate added = dt.plus(Period.years(6));
LocalDate added = dt.withFieldAdded(DurationFieldType.years(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>years</code> - the amount of years to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate plus the increased years</dd></dl>
</li>
</ul>
<a name="plusMonths(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusMonths</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> plusMonths(int months)</pre>
<div class="block">Returns a copy of this date plus the specified number of months.
<p>
This adds the specified number of months to the date.
The addition may change the year, but the day-of-month is normally unchanged.
If adding months makes the day-of-month invalid, it is adjusted to the last valid day in the month.
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate added = dt.plusMonths(6);
LocalDate added = dt.plus(Period.months(6));
LocalDate added = dt.withFieldAdded(DurationFieldType.months(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>months</code> - the amount of months to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate plus the increased months</dd></dl>
</li>
</ul>
<a name="plusWeeks(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusWeeks</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> plusWeeks(int weeks)</pre>
<div class="block">Returns a copy of this date plus the specified number of weeks.
<p>
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate added = dt.plusWeeks(6);
LocalDate added = dt.plus(Period.weeks(6));
LocalDate added = dt.withFieldAdded(DurationFieldType.weeks(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>weeks</code> - the amount of weeks to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate plus the increased weeks</dd></dl>
</li>
</ul>
<a name="plusDays(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusDays</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> plusDays(int days)</pre>
<div class="block">Returns a copy of this date plus the specified number of days.
<p>
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate added = dt.plusDays(6);
LocalDate added = dt.plus(Period.days(6));
LocalDate added = dt.withFieldAdded(DurationFieldType.days(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>days</code> - the amount of days to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate plus the increased days</dd></dl>
</li>
</ul>
<a name="minus(org.joda.time.ReadablePeriod)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> minus(<a href="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</a> period)</pre>
<div class="block">Returns a copy of this date with the specified period taken away.
<p>
If the amount is zero or null, then <code>this</code> is returned.
<p>
This method is typically used to subtract complex period instances.
Subtracting one field is best achieved using methods
like <a href="../../../org/joda/time/LocalDate.html#minusYears(int)"><code>minusYears(int)</code></a>.
<p>
Unsupported time fields are ignored, thus subtracting a period of 24 hours
will not have any effect.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>period</code> - the period to reduce this instant by</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this LocalDate with the period taken away</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ArithmeticException.html?is-external=true" title="class or interface in java.lang">ArithmeticException</a></code> - if the result exceeds the internal capacity</dd></dl>
</li>
</ul>
<a name="minusYears(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusYears</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> minusYears(int years)</pre>
<div class="block">Returns a copy of this date minus the specified number of years.
<p>
This subtracts the specified number of years from the date.
If subtracting years makes the day-of-month invalid, it is adjusted to the last valid day in the month.
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate subtracted = dt.minusYears(6);
LocalDate subtracted = dt.minus(Period.years(6));
LocalDate subtracted = dt.withFieldAdded(DurationFieldType.years(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>years</code> - the amount of years to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate minus the increased years</dd></dl>
</li>
</ul>
<a name="minusMonths(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusMonths</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> minusMonths(int months)</pre>
<div class="block">Returns a copy of this date minus the specified number of months.
<p>
This subtracts the specified number of months from the date.
The subtraction may change the year, but the day-of-month is normally unchanged.
If subtracting months makes the day-of-month invalid, it is adjusted to the last valid day in the month.
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate subtracted = dt.minusMonths(6);
LocalDate subtracted = dt.minus(Period.months(6));
LocalDate subtracted = dt.withFieldAdded(DurationFieldType.months(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>months</code> - the amount of months to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate minus the increased months</dd></dl>
</li>
</ul>
<a name="minusWeeks(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusWeeks</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> minusWeeks(int weeks)</pre>
<div class="block">Returns a copy of this date minus the specified number of weeks.
<p>
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate subtracted = dt.minusWeeks(6);
LocalDate subtracted = dt.minus(Period.weeks(6));
LocalDate subtracted = dt.withFieldAdded(DurationFieldType.weeks(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>weeks</code> - the amount of weeks to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate minus the increased weeks</dd></dl>
</li>
</ul>
<a name="minusDays(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusDays</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> minusDays(int days)</pre>
<div class="block">Returns a copy of this date minus the specified number of days.
<p>
This LocalDate instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDate subtracted = dt.minusDays(6);
LocalDate subtracted = dt.minus(Period.days(6));
LocalDate subtracted = dt.withFieldAdded(DurationFieldType.days(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>days</code> - the amount of days to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDate minus the increased days</dd></dl>
</li>
</ul>
<a name="property(org.joda.time.DateTimeFieldType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>property</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> property(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> fieldType)</pre>
<div class="block">Gets the property object for the specified type, which contains many
useful methods.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldType</code> - the field type to get the chronology for</dd>
<dt><span class="strong">Returns:</span></dt><dd>the property object</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the field is null or unsupported</dd></dl>
</li>
</ul>
<a name="getEra()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEra</h4>
<pre>public int getEra()</pre>
<div class="block">Get the era field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the era</dd></dl>
</li>
</ul>
<a name="getCenturyOfEra()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCenturyOfEra</h4>
<pre>public int getCenturyOfEra()</pre>
<div class="block">Get the year of era field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year of era</dd></dl>
</li>
</ul>
<a name="getYearOfEra()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYearOfEra</h4>
<pre>public int getYearOfEra()</pre>
<div class="block">Get the year of era field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year of era</dd></dl>
</li>
</ul>
<a name="getYearOfCentury()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYearOfCentury</h4>
<pre>public int getYearOfCentury()</pre>
<div class="block">Get the year of century field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year of century</dd></dl>
</li>
</ul>
<a name="getYear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYear</h4>
<pre>public int getYear()</pre>
<div class="block">Get the year field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year</dd></dl>
</li>
</ul>
<a name="getWeekyear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWeekyear</h4>
<pre>public int getWeekyear()</pre>
<div class="block">Get the weekyear field value.
<p>
The weekyear is the year that matches with the weekOfWeekyear field.
In the standard ISO8601 week algorithm, the first week of the year
is that in which at least 4 days are in the year. As a result of this
definition, day 1 of the first week may be in the previous year.
The weekyear allows you to query the effective year for that day.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the weekyear</dd></dl>
</li>
</ul>
<a name="getMonthOfYear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMonthOfYear</h4>
<pre>public int getMonthOfYear()</pre>
<div class="block">Get the month of year field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the month of year</dd></dl>
</li>
</ul>
<a name="getWeekOfWeekyear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWeekOfWeekyear</h4>
<pre>public int getWeekOfWeekyear()</pre>
<div class="block">Get the week of weekyear field value.
<p>
This field is associated with the "weekyear" via <a href="../../../org/joda/time/LocalDate.html#getWeekyear()"><code>getWeekyear()</code></a>.
In the standard ISO8601 week algorithm, the first week of the year
is that in which at least 4 days are in the year. As a result of this
definition, day 1 of the first week may be in the previous year.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the week of a week based year</dd></dl>
</li>
</ul>
<a name="getDayOfYear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDayOfYear</h4>
<pre>public int getDayOfYear()</pre>
<div class="block">Get the day of year field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the day of year</dd></dl>
</li>
</ul>
<a name="getDayOfMonth()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDayOfMonth</h4>
<pre>public int getDayOfMonth()</pre>
<div class="block">Get the day of month field value.
<p>
The values for the day of month are defined in <a href="../../../org/joda/time/DateTimeConstants.html" title="class in org.joda.time"><code>DateTimeConstants</code></a>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the day of month</dd></dl>
</li>
</ul>
<a name="getDayOfWeek()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDayOfWeek</h4>
<pre>public int getDayOfWeek()</pre>
<div class="block">Get the day of week field value.
<p>
The values for the day of week are defined in <a href="../../../org/joda/time/DateTimeConstants.html" title="class in org.joda.time"><code>DateTimeConstants</code></a>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the day of week</dd></dl>
</li>
</ul>
<a name="withEra(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withEra</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withEra(int era)</pre>
<div class="block">Returns a copy of this date with the era field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
era changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>era</code> - the era to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withCenturyOfEra(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withCenturyOfEra</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withCenturyOfEra(int centuryOfEra)</pre>
<div class="block">Returns a copy of this date with the century of era field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
century of era changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>centuryOfEra</code> - the centurey of era to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withYearOfEra(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withYearOfEra</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withYearOfEra(int yearOfEra)</pre>
<div class="block">Returns a copy of this date with the year of era field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
year of era changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yearOfEra</code> - the year of era to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withYearOfCentury(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withYearOfCentury</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withYearOfCentury(int yearOfCentury)</pre>
<div class="block">Returns a copy of this date with the year of century field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
year of century changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yearOfCentury</code> - the year of century to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withYear(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withYear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withYear(int year)</pre>
<div class="block">Returns a copy of this date with the year field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
year changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>year</code> - the year to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withWeekyear(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withWeekyear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withWeekyear(int weekyear)</pre>
<div class="block">Returns a copy of this date with the weekyear field updated.
<p>
The weekyear is the year that matches with the weekOfWeekyear field.
In the standard ISO8601 week algorithm, the first week of the year
is that in which at least 4 days are in the year. As a result of this
definition, day 1 of the first week may be in the previous year.
The weekyear allows you to query the effective year for that day.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
weekyear changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>weekyear</code> - the weekyear to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withMonthOfYear(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMonthOfYear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withMonthOfYear(int monthOfYear)</pre>
<div class="block">Returns a copy of this date with the month of year field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
month of year changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>monthOfYear</code> - the month of year to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withWeekOfWeekyear(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withWeekOfWeekyear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withWeekOfWeekyear(int weekOfWeekyear)</pre>
<div class="block">Returns a copy of this date with the week of weekyear field updated.
<p>
This field is associated with the "weekyear" via <a href="../../../org/joda/time/LocalDate.html#withWeekyear(int)"><code>withWeekyear(int)</code></a>.
In the standard ISO8601 week algorithm, the first week of the year
is that in which at least 4 days are in the year. As a result of this
definition, day 1 of the first week may be in the previous year.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
week of weekyear changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>weekOfWeekyear</code> - the week of weekyear to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withDayOfYear(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDayOfYear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withDayOfYear(int dayOfYear)</pre>
<div class="block">Returns a copy of this date with the day of year field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
day of year changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dayOfYear</code> - the day of year to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withDayOfMonth(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDayOfMonth</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withDayOfMonth(int dayOfMonth)</pre>
<div class="block">Returns a copy of this date with the day of month field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
day of month changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dayOfMonth</code> - the day of month to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withDayOfWeek(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDayOfWeek</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> withDayOfWeek(int dayOfWeek)</pre>
<div class="block">Returns a copy of this date with the day of week field updated.
<p>
LocalDate is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
day of week changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dayOfWeek</code> - the day of week to set</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this object with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="era()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>era</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> era()</pre>
<div class="block">Get the era property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the era property</dd></dl>
</li>
</ul>
<a name="centuryOfEra()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>centuryOfEra</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> centuryOfEra()</pre>
<div class="block">Get the century of era property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year of era property</dd></dl>
</li>
</ul>
<a name="yearOfCentury()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yearOfCentury</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> yearOfCentury()</pre>
<div class="block">Get the year of century property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year of era property</dd></dl>
</li>
</ul>
<a name="yearOfEra()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yearOfEra</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> yearOfEra()</pre>
<div class="block">Get the year of era property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year of era property</dd></dl>
</li>
</ul>
<a name="year()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>year</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> year()</pre>
<div class="block">Get the year property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the year property</dd></dl>
</li>
</ul>
<a name="weekyear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>weekyear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> weekyear()</pre>
<div class="block">Get the weekyear property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the weekyear property</dd></dl>
</li>
</ul>
<a name="monthOfYear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>monthOfYear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> monthOfYear()</pre>
<div class="block">Get the month of year property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the month of year property</dd></dl>
</li>
</ul>
<a name="weekOfWeekyear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>weekOfWeekyear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> weekOfWeekyear()</pre>
<div class="block">Get the week of a week based year property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the week of a week based year property</dd></dl>
</li>
</ul>
<a name="dayOfYear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dayOfYear</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> dayOfYear()</pre>
<div class="block">Get the day of year property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the day of year property</dd></dl>
</li>
</ul>
<a name="dayOfMonth()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dayOfMonth</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> dayOfMonth()</pre>
<div class="block">Get the day of month property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the day of month property</dd></dl>
</li>
</ul>
<a name="dayOfWeek()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dayOfWeek</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time">LocalDate.Property</a> dayOfWeek()</pre>
<div class="block">Get the day of week property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the day of week property</dd></dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre>
<div class="block">Output the date time in ISO8601 format (yyyy-MM-dd).</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/joda/time/ReadablePartial.html#toString()">toString</a></code> in interface <code><a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>ISO8601 time formatted string.</dd></dl>
</li>
</ul>
<a name="toString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pattern)</pre>
<div class="block">Output the date using the specified format pattern.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pattern</code> - the pattern specification, null means use <code>toString</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/joda/time/format/DateTimeFormat.html" title="class in org.joda.time.format"><code>DateTimeFormat</code></a></dd></dl>
</li>
</ul>
<a name="toString(java.lang.String, java.util.Locale)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> pattern,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> locale)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
<div class="block">Output the date using the specified format pattern.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pattern</code> - the pattern specification, null means use <code>toString</code></dd><dd><code>locale</code> - Locale to use, null means default</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/joda/time/format/DateTimeFormat.html" title="class in org.joda.time.format"><code>DateTimeFormat</code></a></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/LocalDate.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/joda/time/JodaTimePermission.html" title="class in org.joda.time"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/joda/time/LocalDate.Property.html" title="class in org.joda.time"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/joda/time/LocalDate.html" target="_top">Frames</a></li>
<li><a href="LocalDate.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2002–2014 <a href="http://www.joda.org">Joda.org</a>. All rights reserved.</small></p>
</body>
</html>
|