/usr/share/doc/libjoda-time-java/api/org/joda/time/LocalDateTime.html is in libjoda-time-java-doc 2.3-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 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 | <!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>LocalDateTime (Joda-Time 2.3 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="LocalDateTime (Joda-Time 2.3 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/LocalDateTime.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/LocalDate.Property.html" title="class in org.joda.time"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.html" target="_top">Frames</a></li>
<li><a href="LocalDateTime.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 LocalDateTime" class="title">Class LocalDateTime</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</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.LocalDateTime</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, java.lang.Comparable<<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">LocalDateTime</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>, java.io.Serializable</pre>
<div class="block">LocalDateTime is an unmodifiable datetime class representing a
datetime without a time zone.
<p>
LocalDateTime implements the <a href="../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time"><code>ReadablePartial</code></a> interface.
To do this, certain methods focus on key fields Year, MonthOfYear,
DayOfYear and MillisOfDay.
However, <b>all</b> fields may in fact be queried.
<p>
Internally, LocalDateTime uses a single millisecond-based value to
represent the local datetime. This value is only used internally and
is not exposed to applications.
<p>
Calculations on LocalDateTime 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>getHourOfDay()</code>
<li><code>hourOfDay().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>
LocalDateTime 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.LocalDateTime">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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></strong></code>
<div class="block">LocalDateTime.Property binds a LocalDateTime 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/LocalDateTime.html#LocalDateTime()">LocalDateTime</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/LocalDateTime.html#LocalDateTime(org.joda.time.Chronology)">LocalDateTime</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/LocalDateTime.html#LocalDateTime(org.joda.time.DateTimeZone)">LocalDateTime</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/LocalDateTime.html#LocalDateTime(int, int, int, int, int)">LocalDateTime</a></strong>(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour)</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/LocalDateTime.html#LocalDateTime(int, int, int, int, int, int)">LocalDateTime</a></strong>(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute)</code>
<div class="block">Constructs an instance set to the specified date and time
using <code>ISOChronology</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#LocalDateTime(int, int, int, int, int, int, int)">LocalDateTime</a></strong>(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond)</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/LocalDateTime.html#LocalDateTime(int, int, int, int, int, int, int, org.joda.time.Chronology)">LocalDateTime</a></strong>(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond,
<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/LocalDateTime.html#LocalDateTime(long)">LocalDateTime</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/LocalDateTime.html#LocalDateTime(long, org.joda.time.Chronology)">LocalDateTime</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/LocalDateTime.html#LocalDateTime(long, org.joda.time.DateTimeZone)">LocalDateTime</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/LocalDateTime.html#LocalDateTime(java.lang.Object)">LocalDateTime</a></strong>(java.lang.Object 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/LocalDateTime.html#LocalDateTime(java.lang.Object, org.joda.time.Chronology)">LocalDateTime</a></strong>(java.lang.Object 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/LocalDateTime.html#LocalDateTime(java.lang.Object, org.joda.time.DateTimeZone)">LocalDateTime</a></strong>(java.lang.Object 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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object 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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#fromCalendarFields(java.util.Calendar)">fromCalendarFields</a></strong>(java.util.Calendar calendar)</code>
<div class="block">Constructs a LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#fromDateFields(java.util.Date)">fromDateFields</a></strong>(java.util.Date date)</code>
<div class="block">Constructs a LocalDateTime 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/LocalDateTime.html#get(org.joda.time.DateTimeFieldType)">get</a></strong>(<a href="../../../org/joda/time/DateTimeFieldType.html" title="class in org.joda.time">DateTimeFieldType</a> type)</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/LocalDateTime.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/LocalDateTime.html#getChronology()">getChronology</a></strong>()</code>
<div class="block">Gets the chronology of the datetime.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.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/LocalDateTime.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/LocalDateTime.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/LocalDateTime.html#getField(int, org.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>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#getHourOfDay()">getHourOfDay</a></strong>()</code>
<div class="block">Get the hour of day field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#getLocalMillis()">getLocalMillis</a></strong>()</code>
<div class="block">Gets the milliseconds of the datetime instant from the Java epoch
of 1970-01-01T00:00:00 (not fixed to any specific time zone).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#getMillisOfDay()">getMillisOfDay</a></strong>()</code>
<div class="block">Get the millis of day 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/LocalDateTime.html#getMillisOfSecond()">getMillisOfSecond</a></strong>()</code>
<div class="block">Get the millis of second 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/LocalDateTime.html#getMinuteOfHour()">getMinuteOfHour</a></strong>()</code>
<div class="block">Get the minute of hour 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/LocalDateTime.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/LocalDateTime.html#getSecondOfMinute()">getSecondOfMinute</a></strong>()</code>
<div class="block">Get the second of minute 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/LocalDateTime.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="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#getWeekOfWeekyear()">getWeekOfWeekyear</a></strong>()</code>
<div class="block">Get the week of 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/LocalDateTime.html#getWeekyear()">getWeekyear</a></strong>()</code>
<div class="block">Get the 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/LocalDateTime.html#getYear()">getYear</a></strong>()</code>
<div class="block">Get the year 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/LocalDateTime.html#getYearOfCentury()">getYearOfCentury</a></strong>()</code>
<div class="block">Get the year of century 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/LocalDateTime.html#getYearOfEra()">getYearOfEra</a></strong>()</code>
<div class="block">Get the year of era field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#hourOfDay()">hourOfDay</a></strong>()</code>
<div class="block">Get the hour of day field 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/LocalDateTime.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 datetime and chronology.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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 datetime and chronology.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#millisOfDay()">millisOfDay</a></strong>()</code>
<div class="block">Get the millis of day property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#millisOfSecond()">millisOfSecond</a></strong>()</code>
<div class="block">Get the millis of second property which provides access to advanced functionality.</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/LocalDateTime.html#minus(org.joda.time.ReadableDuration)">minus</a></strong>(<a href="../../../org/joda/time/ReadableDuration.html" title="interface in org.joda.time">ReadableDuration</a> duration)</code>
<div class="block">Returns a copy of this datetime with the specified duration taken away.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.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 datetime with the specified period taken away.</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/LocalDateTime.html#minusDays(int)">minusDays</a></strong>(int days)</code>
<div class="block">Returns a copy of this datetime minus the specified number of days.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#minusHours(int)">minusHours</a></strong>(int hours)</code>
<div class="block">Returns a copy of this datetime minus the specified number of hours.</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/LocalDateTime.html#minusMillis(int)">minusMillis</a></strong>(int millis)</code>
<div class="block">Returns a copy of this datetime minus the specified number of millis.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#minusMinutes(int)">minusMinutes</a></strong>(int minutes)</code>
<div class="block">Returns a copy of this datetime minus the specified number of minutes.</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/LocalDateTime.html#minusMonths(int)">minusMonths</a></strong>(int months)</code>
<div class="block">Returns a copy of this datetime minus the specified number of months.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#minusSeconds(int)">minusSeconds</a></strong>(int seconds)</code>
<div class="block">Returns a copy of this datetime minus the specified number of seconds.</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/LocalDateTime.html#minusWeeks(int)">minusWeeks</a></strong>(int weeks)</code>
<div class="block">Returns a copy of this datetime minus the specified number of weeks.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#minusYears(int)">minusYears</a></strong>(int years)</code>
<div class="block">Returns a copy of this datetime minus the specified number of years.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#minuteOfHour()">minuteOfHour</a></strong>()</code>
<div class="block">Get the minute of hour field property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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="rowColor">
<td class="colFirst"><code>static <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/LocalDateTime.html#now()">now</a></strong>()</code>
<div class="block">Obtains a <code>LocalDateTime</code> set to the current system millisecond time
using <code>ISOChronology</code> in the default time zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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/LocalDateTime.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>LocalDateTime</code> set to the current system millisecond time
using the specified chronology.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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/LocalDateTime.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>LocalDateTime</code> set to the current system millisecond time
using <code>ISOChronology</code> in the specified time zone.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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/LocalDateTime.html#parse(java.lang.String)">parse</a></strong>(java.lang.String str)</code>
<div class="block">Parses a <code>LocalDateTime</code> from the specified string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <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/LocalDateTime.html#parse(java.lang.String, org.joda.time.format.DateTimeFormatter)">parse</a></strong>(java.lang.String 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>LocalDateTime</code> from the specified string using a formatter.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#plus(org.joda.time.ReadableDuration)">plus</a></strong>(<a href="../../../org/joda/time/ReadableDuration.html" title="interface in org.joda.time">ReadableDuration</a> duration)</code>
<div class="block">Returns a copy of this datetime with the specified duration added.</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/LocalDateTime.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 datetime with the specified period added.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#plusDays(int)">plusDays</a></strong>(int days)</code>
<div class="block">Returns a copy of this datetime plus the specified number of days.</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/LocalDateTime.html#plusHours(int)">plusHours</a></strong>(int hours)</code>
<div class="block">Returns a copy of this datetime plus the specified number of hours.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#plusMillis(int)">plusMillis</a></strong>(int millis)</code>
<div class="block">Returns a copy of this datetime plus the specified number of millis.</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/LocalDateTime.html#plusMinutes(int)">plusMinutes</a></strong>(int minutes)</code>
<div class="block">Returns a copy of this datetime plus the specified number of minutes.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#plusMonths(int)">plusMonths</a></strong>(int months)</code>
<div class="block">Returns a copy of this datetime plus the specified number of months.</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/LocalDateTime.html#plusSeconds(int)">plusSeconds</a></strong>(int seconds)</code>
<div class="block">Returns a copy of this datetime plus the specified number of seconds.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#plusWeeks(int)">plusWeeks</a></strong>(int weeks)</code>
<div class="block">Returns a copy of this datetime plus the specified number of weeks.</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/LocalDateTime.html#plusYears(int)">plusYears</a></strong>(int years)</code>
<div class="block">Returns a copy of this datetime plus the specified number of years.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#secondOfMinute()">secondOfMinute</a></strong>()</code>
<div class="block">Get the second of minute field property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#size()">size</a></strong>()</code>
<div class="block">Gets the number of fields in this partial, which is four.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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="altColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#toDate(java.util.TimeZone)">toDate</a></strong>(java.util.TimeZone timeZone)</code>
<div class="block">Get the date time as a <code>java.util.Date</code> using the specified time zone.</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/LocalDateTime.html#toDateTime()">toDateTime</a></strong>()</code>
<div class="block">Converts this object to a DateTime using the default 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/LocalDateTime.html#toDateTime(org.joda.time.DateTimeZone)">toDateTime</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 a DateTime using the specified zone.</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/LocalDateTime.html#toLocalDate()">toLocalDate</a></strong>()</code>
<div class="block">Converts this object to a LocalDate with the same date and chronology.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#toLocalTime()">toLocalTime</a></strong>()</code>
<div class="block">Converts this object to a LocalTime with the same time and chronology.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#toString()">toString</a></strong>()</code>
<div class="block">Output the date time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#toString(java.lang.String)">toString</a></strong>(java.lang.String pattern)</code>
<div class="block">Output the date using the specified format pattern.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#toString(java.lang.String, java.util.Locale)">toString</a></strong>(java.lang.String pattern,
java.util.Locale locale)</code>
<div class="block">Output the date using the specified format pattern.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#weekyear()">weekyear</a></strong>()</code>
<div class="block">Get the weekyear property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withCenturyOfEra(int)">withCenturyOfEra</a></strong>(int centuryOfEra)</code>
<div class="block">Returns a copy of this datetime with the century of era field updated.</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/LocalDateTime.html#withDate(int, int, int)">withDate</a></strong>(int year,
int monthOfYear,
int dayOfMonth)</code>
<div class="block">Returns a copy of this datetime with the specified date,
retaining the time fields.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withDayOfMonth(int)">withDayOfMonth</a></strong>(int dayOfMonth)</code>
<div class="block">Returns a copy of this datetime with the day of month field updated.</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/LocalDateTime.html#withDayOfWeek(int)">withDayOfWeek</a></strong>(int dayOfWeek)</code>
<div class="block">Returns a copy of this datetime with the day of week field updated.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withDayOfYear(int)">withDayOfYear</a></strong>(int dayOfYear)</code>
<div class="block">Returns a copy of this datetime with the day of year field updated.</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/LocalDateTime.html#withDurationAdded(org.joda.time.ReadableDuration, int)">withDurationAdded</a></strong>(<a href="../../../org/joda/time/ReadableDuration.html" title="interface in org.joda.time">ReadableDuration</a> durationToAdd,
int scalar)</code>
<div class="block">Returns a copy of this datetime with the specified duration added.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withEra(int)">withEra</a></strong>(int era)</code>
<div class="block">Returns a copy of this datetime with the era field updated.</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/LocalDateTime.html#withField(org.joda.time.DateTimeFieldType, int)">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 datetime with the specified field set to a new value.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withFieldAdded(org.joda.time.DurationFieldType, int)">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 datetime with the value of the specified
field increased.</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/LocalDateTime.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 datetime with the partial set of fields
replacing those from this instance.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withHourOfDay(int)">withHourOfDay</a></strong>(int hour)</code>
<div class="block">Returns a copy of this datetime with the hour of day field updated.</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/LocalDateTime.html#withMillisOfDay(int)">withMillisOfDay</a></strong>(int millis)</code>
<div class="block">Returns a copy of this datetime with the millis of day field updated.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withMillisOfSecond(int)">withMillisOfSecond</a></strong>(int millis)</code>
<div class="block">Returns a copy of this datetime with the millis of second field updated.</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/LocalDateTime.html#withMinuteOfHour(int)">withMinuteOfHour</a></strong>(int minute)</code>
<div class="block">Returns a copy of this datetime with the minute of hour field updated.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withMonthOfYear(int)">withMonthOfYear</a></strong>(int monthOfYear)</code>
<div class="block">Returns a copy of this datetime with the month of year field updated.</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/LocalDateTime.html#withPeriodAdded(org.joda.time.ReadablePeriod, int)">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 datetime with the specified period added.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withSecondOfMinute(int)">withSecondOfMinute</a></strong>(int second)</code>
<div class="block">Returns a copy of this datetime with the second of minute field updated.</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/LocalDateTime.html#withTime(int, int, int, int)">withTime</a></strong>(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond)</code>
<div class="block">Returns a copy of this datetime with the specified time,
retaining the date fields.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withWeekOfWeekyear(int)">withWeekOfWeekyear</a></strong>(int weekOfWeekyear)</code>
<div class="block">Returns a copy of this datetime with the week of weekyear field updated.</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/LocalDateTime.html#withWeekyear(int)">withWeekyear</a></strong>(int weekyear)</code>
<div class="block">Returns a copy of this datetime with the weekyear field updated.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withYear(int)">withYear</a></strong>(int year)</code>
<div class="block">Returns a copy of this datetime with the year field updated.</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/LocalDateTime.html#withYearOfCentury(int)">withYearOfCentury</a></strong>(int yearOfCentury)</code>
<div class="block">Returns a copy of this datetime with the year of century field updated.</div>
</td>
</tr>
<tr class="altColor">
<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/LocalDateTime.html#withYearOfEra(int)">withYearOfEra</a></strong>(int yearOfEra)</code>
<div class="block">Returns a copy of this datetime with the year of era field updated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.html#year()">year</a></strong>()</code>
<div class="block">Get the year property which provides access to advanced functionality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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="rowColor">
<td class="colFirst"><code><a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/joda/time/LocalDateTime.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#hashCode()">hashCode</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.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</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#hashCode()">hashCode</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="LocalDateTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime()</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/LocalDateTime.html#now()"><code>now()</code></a></dd></dl>
</li>
</ul>
<a name="LocalDateTime(org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(<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/LocalDateTime.html#now(org.joda.time.DateTimeZone)"><code>now(DateTimeZone)</code></a></dd></dl>
</li>
</ul>
<a name="LocalDateTime(org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(<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/LocalDateTime.html#now(org.joda.time.Chronology)"><code>now(Chronology)</code></a></dd></dl>
</li>
</ul>
<a name="LocalDateTime(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(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="LocalDateTime(long, org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(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="LocalDateTime(long, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(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="LocalDateTime(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(java.lang.Object instant)</pre>
<div class="block">Constructs an instance from an Object that represents a datetime.
<p>
If the object contains no chronology, <code>ISOChronology</code> is used.
If the object contains no time zone, 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#localDateOptionalTimeParser()"><code>ISODateTimeFormat.localDateOptionalTimeParser()</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>java.lang.IllegalArgumentException</code> - if the instant is invalid</dd></dl>
</li>
</ul>
<a name="LocalDateTime(java.lang.Object, org.joda.time.DateTimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(java.lang.Object 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#localDateOptionalTimeParser()"><code>ISODateTimeFormat.localDateOptionalTimeParser()</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>java.lang.IllegalArgumentException</code> - if the instant is invalid</dd></dl>
</li>
</ul>
<a name="LocalDateTime(java.lang.Object, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(java.lang.Object 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#localDateOptionalTimeParser()"><code>ISODateTimeFormat.localDateOptionalTimeParser()</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>java.lang.IllegalArgumentException</code> - if the instant is invalid</dd></dl>
</li>
</ul>
<a name="LocalDateTime(int, int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour)</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><dd><code>hourOfDay</code> - the hour of the day, from 0 to 23</dd><dd><code>minuteOfHour</code> - the minute of the hour, from 0 to 59</dd></dl>
</li>
</ul>
<a name="LocalDateTime(int, int, int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute)</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><dd><code>hourOfDay</code> - the hour of the day, from 0 to 23</dd><dd><code>minuteOfHour</code> - the minute of the hour, from 0 to 59</dd><dd><code>secondOfMinute</code> - the second of the minute, from 0 to 59</dd></dl>
</li>
</ul>
<a name="LocalDateTime(int, int, int, int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond)</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><dd><code>hourOfDay</code> - the hour of the day, from 0 to 23</dd><dd><code>minuteOfHour</code> - the minute of the hour, from 0 to 59</dd><dd><code>secondOfMinute</code> - the second of the minute, from 0 to 59</dd><dd><code>millisOfSecond</code> - the millisecond of the second, from 0 to 999</dd></dl>
</li>
</ul>
<a name="LocalDateTime(int, int, int, int, int, int, int, org.joda.time.Chronology)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LocalDateTime</h4>
<pre>public LocalDateTime(int year,
int monthOfYear,
int dayOfMonth,
int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond,
<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>hourOfDay</code> - the hour of the day, valid values defined by the chronology</dd><dd><code>minuteOfHour</code> - the minute of the hour, valid values defined by the chronology</dd><dd><code>secondOfMinute</code> - the second of the minute, valid values defined by the chronology</dd><dd><code>millisOfSecond</code> - the millisecond of the second, 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> now()</pre>
<div class="block">Obtains a <code>LocalDateTime</code> set to the current system millisecond time
using <code>ISOChronology</code> in the default time zone.
The resulting object does not use the zone.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current date, 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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>LocalDateTime</code> set to the current system millisecond time
using <code>ISOChronology</code> in the specified time zone.
The resulting object does not use the 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, 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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>LocalDateTime</code> set to the current system millisecond time
using the specified chronology.
The resulting object does not use the zone.</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, 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> parse(java.lang.String str)</pre>
<div class="block">Parses a <code>LocalDateTime</code> from the specified string.
<p>
This uses <a href="../../../org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()"><code>ISODateTimeFormat.localDateOptionalTimeParser()</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> parse(java.lang.String 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>LocalDateTime</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> fromCalendarFields(java.util.Calendar calendar)</pre>
<div class="block">Constructs a LocalDateTime 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 LocalDateTime.
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 LocalDateTime 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-time, not null</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if the calendar is null</dd>
<dd><code>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> fromDateFields(java.util.Date date)</pre>
<div class="block">Constructs a LocalDateTime 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 LocalDateTime.
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 LocalDateTime 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-time, not null</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if the calendar is null</dd>
<dd><code>java.lang.IllegalArgumentException</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 four.
The supported fields are Year, MonthOfDay, DayOfMonth and MillisOfDay.</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, four</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, org.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, MonthOfDay, DayOfMonth and MillisOfDay.</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>java.lang.IndexOutOfBoundsException</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> type)</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>
DateTime dt = new DateTime();
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>type</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>java.lang.IllegalArgumentException</code> - if the field type is null</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 datetime and chronology.
This can be used to avoid exceptions in <a href="../../../org/joda/time/LocalDateTime.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 datetime 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 milliseconds of the datetime instant 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 datetime.</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 datetime 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(java.lang.Object 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="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>compareTo</code> in interface <code>java.lang.Comparable<<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>java.lang.ClassCastException</code> - if the partial is the wrong class
or if it has field types that don't match</dd>
<dd><code>java.lang.NullPointerException</code> - if the partial is null</dd></dl>
</li>
</ul>
<a name="toDateTime()">
<!-- -->
</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()</pre>
<div class="block">Converts this object to a DateTime using the default zone.
<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.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd><code>this</code></dd></dl>
</li>
</ul>
<a name="toDateTime(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/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</a> zone)</pre>
<div class="block">Converts this object to a DateTime using the specified zone.
<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.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>zone</code> - time zone to apply, or default if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>a DateTime using the same millis</dd></dl>
</li>
</ul>
<a name="toLocalDate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toLocalDate</h4>
<pre>public <a href="../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</a> toLocalDate()</pre>
<div class="block">Converts this object to a LocalDate with the same date and chronology.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a LocalDate with the same date and chronology</dd></dl>
</li>
</ul>
<a name="toLocalTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toLocalTime</h4>
<pre>public <a href="../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</a> toLocalTime()</pre>
<div class="block">Converts this object to a LocalTime with the same time and chronology.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a LocalTime with the same time and chronology</dd></dl>
</li>
</ul>
<a name="toDate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDate</h4>
<pre>public java.util.Date 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 fields as this
date-time, except when the time would be invalid due to a daylight savings
gap. In that case, the time will be set to the earliest valid time after the gap.
<p>
In the case of a daylight savings overlap, the earlier instant is selected.
<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. 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-time, never null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="toDate(java.util.TimeZone)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toDate</h4>
<pre>public java.util.Date toDate(java.util.TimeZone timeZone)</pre>
<div class="block">Get the date time as a <code>java.util.Date</code> using the specified time zone.
<p>
The <code>Date</code> object created has exactly the same fields as this
date-time, except when the time would be invalid due to a daylight savings
gap. In that case, the time will be set to the earliest valid time after the gap.
<p>
In the case of a daylight savings overlap, the earlier instant is selected.
<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. This also handles the situation
where the JDK time zone data differs from the Joda-Time time zone data.
<p>
Unlike <a href="../../../org/joda/time/LocalDateTime.html#toDate()"><code>toDate()</code></a>, this implementation does not rely on Java's synchronized
time zone initialization logic, and should demonstrate better concurrent performance
characteristics.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a Date initialised with this date-time, never null</dd><dt><span class="strong">Since:</span></dt>
<dd>2.3</dd></dl>
</li>
</ul>
<a name="withDate(int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDate</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withDate(int year,
int monthOfYear,
int dayOfMonth)</pre>
<div class="block">Returns a copy of this datetime with the specified date,
retaining the time fields.
<p>
If the date is already the date passed in, then <code>this</code> is returned.
<p>
To set a single field use the properties, for example:
<pre>
DateTime set = dt.monthOfYear().setCopy(6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>year</code> - the new year value</dd><dd><code>monthOfYear</code> - the new monthOfYear value</dd><dd><code>dayOfMonth</code> - the new dayOfMonth value</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this datetime with a different date</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if any value if invalid</dd></dl>
</li>
</ul>
<a name="withTime(int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withTime</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withTime(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond)</pre>
<div class="block">Returns a copy of this datetime with the specified time,
retaining the date fields.
<p>
If the time is already the time passed in, then <code>this</code> is returned.
<p>
To set a single field use the properties, for example:
<pre>
LocalDateTime set = dt.hourOfDay().setCopy(6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>hourOfDay</code> - the hour of the day</dd><dd><code>minuteOfHour</code> - the minute of the hour</dd><dd><code>secondOfMinute</code> - the second of the minute</dd><dd><code>millisOfSecond</code> - the millisecond of the second</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this datetime with a different time</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if any value if invalid</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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 datetime with the partial set of fields
replacing those from this instance.
<p>
For example, if the partial is a <code>TimeOfDay</code> then the time fields
would be changed in the returned instance.
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 datetime, null ignored</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this datetime with a different set of fields</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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 datetime with the specified field set to a new value.
<p>
For example, if the field type is <code>hourOfDay</code> then the hour of day
field would be changed in the returned instance.
If the field type is null, then <code>this</code> is returned.
<p>
These three lines are equivalent:
<pre>
LocalDateTime updated = dt.withField(DateTimeFieldType.dayOfMonth(), 6);
LocalDateTime updated = dt.dayOfMonth().setCopy(6);
LocalDateTime updated = dt.property(DateTimeFieldType.dayOfMonth()).setCopy(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 datetime with the field set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if the value is null or invalid</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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 datetime 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>
LocalDateTime added = dt.withFieldAdded(DurationFieldType.years(), 6);
LocalDateTime added = dt.plusYears(6);
LocalDateTime 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 datetime with the field updated</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if the value is null or invalid</dd>
<dd><code>java.lang.ArithmeticException</code> - if the result exceeds the internal capacity</dd></dl>
</li>
</ul>
<a name="withDurationAdded(org.joda.time.ReadableDuration, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDurationAdded</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withDurationAdded(<a href="../../../org/joda/time/ReadableDuration.html" title="interface in org.joda.time">ReadableDuration</a> durationToAdd,
int scalar)</pre>
<div class="block">Returns a copy of this datetime with the specified duration added.
<p>
If the addition is zero, then <code>this</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>durationToAdd</code> - the duration 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 datetime with the duration added</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArithmeticException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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 datetime 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/LocalDateTime.html#withFieldAdded(org.joda.time.DurationFieldType, int)"><code>withFieldAdded(DurationFieldType, int)</code></a>
or <a href="../../../org/joda/time/LocalDateTime.html#plusYears(int)"><code>plusYears(int)</code></a>.</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 datetime with the period added</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArithmeticException</code> - if the result exceeds the internal capacity</dd></dl>
</li>
</ul>
<a name="plus(org.joda.time.ReadableDuration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plus(<a href="../../../org/joda/time/ReadableDuration.html" title="interface in org.joda.time">ReadableDuration</a> duration)</pre>
<div class="block">Returns a copy of this datetime with the specified duration added.
<p>
If the amount is zero or null, then <code>this</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>duration</code> - the duration to add to this one, null means zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this datetime with the duration added</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArithmeticException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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 datetime 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/LocalDateTime.html#plusYears(int)"><code>plusYears(int)</code></a>.</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 datetime with the period added</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArithmeticException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusYears(int years)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of years.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusYears(6);
LocalDateTime added = dt.plus(Period.years(6));
LocalDateTime 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 LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusMonths(int months)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of months.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusMonths(6);
LocalDateTime added = dt.plus(Period.months(6));
LocalDateTime 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 LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusWeeks(int weeks)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of weeks.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusWeeks(6);
LocalDateTime added = dt.plus(Period.weeks(6));
LocalDateTime 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 LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusDays(int days)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of days.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusDays(6);
LocalDateTime added = dt.plus(Period.days(6));
LocalDateTime 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 LocalDateTime plus the increased days</dd></dl>
</li>
</ul>
<a name="plusHours(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusHours</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusHours(int hours)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of hours.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusHours(6);
LocalDateTime added = dt.plus(Period.hours(6));
LocalDateTime added = dt.withFieldAdded(DurationFieldType.hours(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>hours</code> - the amount of hours to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime plus the increased hours</dd></dl>
</li>
</ul>
<a name="plusMinutes(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusMinutes</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusMinutes(int minutes)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of minutes.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusMinutes(6);
LocalDateTime added = dt.plus(Period.minutes(6));
LocalDateTime added = dt.withFieldAdded(DurationFieldType.minutes(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>minutes</code> - the amount of minutes to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime plus the increased minutes</dd></dl>
</li>
</ul>
<a name="plusSeconds(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusSeconds</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusSeconds(int seconds)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of seconds.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusSeconds(6);
LocalDateTime added = dt.plus(Period.seconds(6));
LocalDateTime added = dt.withFieldAdded(DurationFieldType.seconds(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seconds</code> - the amount of seconds to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime plus the increased seconds</dd></dl>
</li>
</ul>
<a name="plusMillis(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusMillis</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> plusMillis(int millis)</pre>
<div class="block">Returns a copy of this datetime plus the specified number of millis.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime added = dt.plusMillis(6);
LocalDateTime added = dt.plus(Period.millis(6));
LocalDateTime added = dt.withFieldAdded(DurationFieldType.millis(), 6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>millis</code> - the amount of millis to add, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime plus the increased millis</dd></dl>
</li>
</ul>
<a name="minus(org.joda.time.ReadableDuration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minus</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minus(<a href="../../../org/joda/time/ReadableDuration.html" title="interface in org.joda.time">ReadableDuration</a> duration)</pre>
<div class="block">Returns a copy of this datetime with the specified duration taken away.
<p>
If the amount is zero or null, then <code>this</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>duration</code> - the duration to reduce this instant by</dd>
<dt><span class="strong">Returns:</span></dt><dd>a copy of this datetime with the duration taken away</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArithmeticException</code> - if the result exceeds the internal capacity</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</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 datetime 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/LocalDateTime.html#minusYears(int)"><code>minusYears(int)</code></a>.</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 datetime with the period taken away</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArithmeticException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusYears(int years)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of years.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusYears(6);
LocalDateTime subtracted = dt.minus(Period.years(6));
LocalDateTime 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 LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusMonths(int months)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of months.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusMonths(6);
LocalDateTime subtracted = dt.minus(Period.months(6));
LocalDateTime 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 LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusWeeks(int weeks)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of weeks.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusWeeks(6);
LocalDateTime subtracted = dt.minus(Period.weeks(6));
LocalDateTime 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 LocalDateTime 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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusDays(int days)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of days.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusDays(6);
LocalDateTime subtracted = dt.minus(Period.days(6));
LocalDateTime 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 LocalDateTime minus the increased days</dd></dl>
</li>
</ul>
<a name="minusHours(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusHours</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusHours(int hours)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of hours.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusHours(6);
LocalDateTime subtracted = dt.minus(Period.hours(6));
LocalDateTime subtracted = dt.withFieldAdded(DurationFieldType.hours(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>hours</code> - the amount of hours to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime minus the increased hours</dd></dl>
</li>
</ul>
<a name="minusMinutes(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusMinutes</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusMinutes(int minutes)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of minutes.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusMinutes(6);
LocalDateTime subtracted = dt.minus(Period.minutes(6));
LocalDateTime subtracted = dt.withFieldAdded(DurationFieldType.minutes(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>minutes</code> - the amount of minutes to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime minus the increased minutes</dd></dl>
</li>
</ul>
<a name="minusSeconds(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusSeconds</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusSeconds(int seconds)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of seconds.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusSeconds(6);
LocalDateTime subtracted = dt.minus(Period.seconds(6));
LocalDateTime subtracted = dt.withFieldAdded(DurationFieldType.seconds(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>seconds</code> - the amount of seconds to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime minus the increased seconds</dd></dl>
</li>
</ul>
<a name="minusMillis(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minusMillis</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> minusMillis(int millis)</pre>
<div class="block">Returns a copy of this datetime minus the specified number of millis.
<p>
This LocalDateTime instance is immutable and unaffected by this method call.
<p>
The following three lines are identical in effect:
<pre>
LocalDateTime subtracted = dt.minusMillis(6);
LocalDateTime subtracted = dt.minus(Period.millis(6));
LocalDateTime subtracted = dt.withFieldAdded(DurationFieldType.millis(), -6);
</pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>millis</code> - the amount of millis to subtract, may be negative</dd>
<dt><span class="strong">Returns:</span></dt><dd>the new LocalDateTime minus the increased millis</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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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>java.lang.IllegalArgumentException</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/LocalDateTime.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="getHourOfDay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHourOfDay</h4>
<pre>public int getHourOfDay()</pre>
<div class="block">Get the hour of day field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the hour of day</dd></dl>
</li>
</ul>
<a name="getMinuteOfHour()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinuteOfHour</h4>
<pre>public int getMinuteOfHour()</pre>
<div class="block">Get the minute of hour field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the minute of hour</dd></dl>
</li>
</ul>
<a name="getSecondOfMinute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSecondOfMinute</h4>
<pre>public int getSecondOfMinute()</pre>
<div class="block">Get the second of minute field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the second of minute</dd></dl>
</li>
</ul>
<a name="getMillisOfSecond()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMillisOfSecond</h4>
<pre>public int getMillisOfSecond()</pre>
<div class="block">Get the millis of second field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the millis of second</dd></dl>
</li>
</ul>
<a name="getMillisOfDay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMillisOfDay</h4>
<pre>public int getMillisOfDay()</pre>
<div class="block">Get the millis of day field value.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the millis of day</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withEra(int era)</pre>
<div class="block">Returns a copy of this datetime with the era field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withCenturyOfEra(int centuryOfEra)</pre>
<div class="block">Returns a copy of this datetime with the century of era field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withYearOfEra(int yearOfEra)</pre>
<div class="block">Returns a copy of this datetime with the year of era field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withYearOfCentury(int yearOfCentury)</pre>
<div class="block">Returns a copy of this datetime with the year of century field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withYear(int year)</pre>
<div class="block">Returns a copy of this datetime with the year field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withWeekyear(int weekyear)</pre>
<div class="block">Returns a copy of this datetime 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>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withMonthOfYear(int monthOfYear)</pre>
<div class="block">Returns a copy of this datetime with the month of year field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withWeekOfWeekyear(int weekOfWeekyear)</pre>
<div class="block">Returns a copy of this datetime with the week of weekyear field updated.
<p>
This field is associated with the "weekyear" via <a href="../../../org/joda/time/LocalDateTime.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>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withDayOfYear(int dayOfYear)</pre>
<div class="block">Returns a copy of this datetime with the day of year field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withDayOfMonth(int dayOfMonth)</pre>
<div class="block">Returns a copy of this datetime with the day of month field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</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/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withDayOfWeek(int dayOfWeek)</pre>
<div class="block">Returns a copy of this datetime with the day of week field updated.
<p>
LocalDateTime 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>java.lang.IllegalArgumentException</code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withHourOfDay(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withHourOfDay</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withHourOfDay(int hour)</pre>
<div class="block">Returns a copy of this datetime with the hour of day field updated.
<p>
LocalDateTime is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
hour of day changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>hour</code> - the hour of day 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>java.lang.IllegalArgumentException</code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withMinuteOfHour(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMinuteOfHour</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withMinuteOfHour(int minute)</pre>
<div class="block">Returns a copy of this datetime with the minute of hour field updated.
<p>
LocalDateTime is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
minute of hour changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>minute</code> - the minute of hour 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>java.lang.IllegalArgumentException</code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withSecondOfMinute(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSecondOfMinute</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withSecondOfMinute(int second)</pre>
<div class="block">Returns a copy of this datetime with the second of minute field updated.
<p>
LocalDateTime is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
second of minute changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>second</code> - the second of minute 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>java.lang.IllegalArgumentException</code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withMillisOfSecond(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMillisOfSecond</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withMillisOfSecond(int millis)</pre>
<div class="block">Returns a copy of this datetime with the millis of second field updated.
<p>
LocalDateTime is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
millis of second changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>millis</code> - the millis of second 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>java.lang.IllegalArgumentException</code> - if the value is invalid</dd></dl>
</li>
</ul>
<a name="withMillisOfDay(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMillisOfDay</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</a> withMillisOfDay(int millis)</pre>
<div class="block">Returns a copy of this datetime with the millis of day field updated.
<p>
LocalDateTime is immutable, so there are no set methods.
Instead, this method returns a new instance with the value of
millis of day changed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>millis</code> - the millis of day 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>java.lang.IllegalArgumentException</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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.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="hourOfDay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hourOfDay</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a> hourOfDay()</pre>
<div class="block">Get the hour of day field property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the hour of day property</dd></dl>
</li>
</ul>
<a name="minuteOfHour()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minuteOfHour</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a> minuteOfHour()</pre>
<div class="block">Get the minute of hour field property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the minute of hour property</dd></dl>
</li>
</ul>
<a name="secondOfMinute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>secondOfMinute</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a> secondOfMinute()</pre>
<div class="block">Get the second of minute field property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the second of minute property</dd></dl>
</li>
</ul>
<a name="millisOfSecond()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>millisOfSecond</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a> millisOfSecond()</pre>
<div class="block">Get the millis of second property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the millis of second property</dd></dl>
</li>
</ul>
<a name="millisOfDay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>millisOfDay</h4>
<pre>public <a href="../../../org/joda/time/LocalDateTime.Property.html" title="class in org.joda.time">LocalDateTime.Property</a> millisOfDay()</pre>
<div class="block">Get the millis of day property which provides access to advanced functionality.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the millis of day property</dd></dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public java.lang.String toString()</pre>
<div class="block">Output the date time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS).</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>toString</code> in class <code>java.lang.Object</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 java.lang.String toString(java.lang.String 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 java.lang.String toString(java.lang.String pattern,
java.util.Locale locale)
throws java.lang.IllegalArgumentException</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>java.lang.IllegalArgumentException</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/LocalDateTime.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/LocalDate.Property.html" title="class in org.joda.time"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/joda/time/LocalDateTime.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/LocalDateTime.html" target="_top">Frames</a></li>
<li><a href="LocalDateTime.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-2013 <a href="http://www.joda.org">Joda.org</a>. All Rights Reserved.</small></p>
</body>
</html>
|