This file is indexed.

/usr/share/doc/libjoda-time-java/api/org/joda/time/format/DateTimeFormatter.html is in libjoda-time-java-doc 2.1-2.

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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Mon Apr 09 15:49:15 UTC 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
DateTimeFormatter (Joda time 2.1 API)
</TITLE>

<META NAME="date" CONTENT="2012-04-09">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="DateTimeFormatter (Joda time 2.1 API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DateTimeFormatter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormat.html" title="class in org.joda.time.format"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatterBuilder.html" title="class in org.joda.time.format"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?org/joda/time/format/DateTimeFormatter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DateTimeFormatter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.joda.time.format</FONT>
<BR>
Class DateTimeFormatter</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.joda.time.format.DateTimeFormatter</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>DateTimeFormatter</B><DT>extends java.lang.Object</DL>
</PRE>

<P>
Controls the printing and parsing of a datetime to and from a string.
 <p>
 This class is the main API for printing and parsing used by most applications.
 Instances of this class are created via one of three factory classes:
 <ul>
 <li><A HREF="../../../../org/joda/time/format/DateTimeFormat.html" title="class in org.joda.time.format"><CODE>DateTimeFormat</CODE></A> - formats by pattern and style</li>
 <li><A HREF="../../../../org/joda/time/format/ISODateTimeFormat.html" title="class in org.joda.time.format"><CODE>ISODateTimeFormat</CODE></A> - ISO8601 formats</li>
 <li><A HREF="../../../../org/joda/time/format/DateTimeFormatterBuilder.html" title="class in org.joda.time.format"><CODE>DateTimeFormatterBuilder</CODE></A> - complex formats created via method calls</li>
 </ul>
 <p>
 An instance of this class holds a reference internally to one printer and
 one parser. It is possible that one of these may be null, in which case the
 formatter cannot print/parse. This can be checked via the <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#isPrinter()"><CODE>isPrinter()</CODE></A>
 and <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#isParser()"><CODE>isParser()</CODE></A> methods.
 <p>
 The underlying printer/parser can be altered to behave exactly as required
 by using one of the decorator modifiers:
 <ul>
 <li><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withLocale(java.util.Locale)"><CODE>withLocale(Locale)</CODE></A> - returns a new formatter that uses the specified locale</li>
 <li><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withZone(org.joda.time.DateTimeZone)"><CODE>withZone(DateTimeZone)</CODE></A> - returns a new formatter that uses the specified time zone</li>
 <li><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withChronology(org.joda.time.Chronology)"><CODE>withChronology(Chronology)</CODE></A> - returns a new formatter that uses the specified chronology</li>
 <li><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withOffsetParsed()"><CODE>withOffsetParsed()</CODE></A> - returns a new formatter that returns the parsed time zone offset</li>
 </ul>
 Each of these returns a new formatter (instances of this class are immutable).
 <p>
 The main methods of the class are the <code>printXxx</code> and
 <code>parseXxx</code> methods. These are used as follows:
 <pre>
 // print using the defaults (default locale, chronology/zone of the datetime)
 String dateStr = formatter.print(dt);
 // print using the French locale
 String dateStr = formatter.withLocale(Locale.FRENCH).print(dt);
 // print using the UTC zone
 String dateStr = formatter.withZone(DateTimeZone.UTC).print(dt);
 
 // parse using the Paris zone
 DateTime date = formatter.withZone(DateTimeZone.forID("Europe/Paris")).parseDateTime(str);
 </pre>
<P>

<P>
<DL>
<DT><B>Since:</B></DT>
  <DD>1.0</DD>
<DT><B>Author:</B></DT>
  <DD>Brian S O'Neill, Stephen Colebourne, Fredrik Borgh</DD>
</DL>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#DateTimeFormatter(org.joda.time.format.DateTimePrinter, org.joda.time.format.DateTimeParser)">DateTimeFormatter</A></B>(<A HREF="../../../../org/joda/time/format/DateTimePrinter.html" title="interface in org.joda.time.format">DateTimePrinter</A>&nbsp;printer,
                  <A HREF="../../../../org/joda/time/format/DateTimeParser.html" title="interface in org.joda.time.format">DateTimeParser</A>&nbsp;parser)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new formatter, however you will normally use the factory
 or the builder.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getChronolgy()">getChronolgy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use the method with the correct spelling</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getChronology()">getChronology</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the chronology to use as an override.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getDefaultYear()">getDefaultYear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the default year for parsing months and days.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Locale</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getLocale()">getLocale</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the locale that will be used for printing and parsing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeParser.html" title="interface in org.joda.time.format">DateTimeParser</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getParser()">getParser</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the internal parser object that performs the real parsing work.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Integer</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getPivotYear()">getPivotYear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the pivot year to use as an override.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimePrinter.html" title="interface in org.joda.time.format">DateTimePrinter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getPrinter()">getPrinter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the internal printer object that performs the real printing work.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#getZone()">getZone</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the zone to use as an override.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#isOffsetParsed()">isOffsetParsed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the offset from the string is used as the zone of
 the parsed datetime.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#isParser()">isParser</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is this formatter capable of parsing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#isPrinter()">isPrinter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is this formatter capable of printing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseDateTime(java.lang.String)">parseDateTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a date-time from the given text, returning a new DateTime.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseInto(org.joda.time.ReadWritableInstant, java.lang.String, int)">parseInto</A></B>(<A HREF="../../../../org/joda/time/ReadWritableInstant.html" title="interface in org.joda.time">ReadWritableInstant</A>&nbsp;instant,
          java.lang.String&nbsp;text,
          int&nbsp;position)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a datetime from the given text, at the given position, saving the
 result into the fields of the given ReadWritableInstant.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseLocalDate(java.lang.String)">parseLocalDate</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses only the local date from the given text, returning a new LocalDate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseLocalDateTime(java.lang.String)">parseLocalDateTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses only the local date-time from the given text, returning a new LocalDate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseLocalTime(java.lang.String)">parseLocalTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses only the local time from the given text, returning a new LocalDate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseMillis(java.lang.String)">parseMillis</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a datetime from the given text, returning the number of
 milliseconds since the epoch, 1970-01-01T00:00:00Z.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/MutableDateTime.html" title="class in org.joda.time">MutableDateTime</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseMutableDateTime(java.lang.String)">parseMutableDateTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a date-time from the given text, returning a new MutableDateTime.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#print(long)">print</A></B>(long&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a millisecond instant to a String.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#print(org.joda.time.ReadableInstant)">print</A></B>(<A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadableInstant to a String.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#print(org.joda.time.ReadablePartial)">print</A></B>(<A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadablePartial to a new String.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.lang.Appendable, long)">printTo</A></B>(java.lang.Appendable&nbsp;appendable,
        long&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
 using ISO chronology in the default DateTimeZone.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.lang.Appendable, org.joda.time.ReadableInstant)">printTo</A></B>(java.lang.Appendable&nbsp;appendable,
        <A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadableInstant, using the chronology supplied by the instant.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.lang.Appendable, org.joda.time.ReadablePartial)">printTo</A></B>(java.lang.Appendable&nbsp;appendable,
        <A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadablePartial.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.lang.StringBuffer, long)">printTo</A></B>(java.lang.StringBuffer&nbsp;buf,
        long&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
 using ISO chronology in the default DateTimeZone.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.lang.StringBuffer, org.joda.time.ReadableInstant)">printTo</A></B>(java.lang.StringBuffer&nbsp;buf,
        <A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadableInstant, using the chronology supplied by the instant.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.lang.StringBuffer, org.joda.time.ReadablePartial)">printTo</A></B>(java.lang.StringBuffer&nbsp;buf,
        <A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadablePartial.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.io.Writer, long)">printTo</A></B>(java.io.Writer&nbsp;out,
        long&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
 using ISO chronology in the default DateTimeZone.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.io.Writer, org.joda.time.ReadableInstant)">printTo</A></B>(java.io.Writer&nbsp;out,
        <A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadableInstant, using the chronology supplied by the instant.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#printTo(java.io.Writer, org.joda.time.ReadablePartial)">printTo</A></B>(java.io.Writer&nbsp;out,
        <A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints a ReadablePartial.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withChronology(org.joda.time.Chronology)">withChronology</A></B>(<A HREF="../../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</A>&nbsp;chrono)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will use the specified chronology in
 preference to that of the printed object, or ISO on a parse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withDefaultYear(int)">withDefaultYear</A></B>(int&nbsp;defaultYear)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will use the specified default year.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withLocale(java.util.Locale)">withLocale</A></B>(java.util.Locale&nbsp;locale)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter with a different locale that will be used
 for printing and parsing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withOffsetParsed()">withOffsetParsed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will create a datetime with a time zone
 equal to that of the offset of the parsed string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withPivotYear(int)">withPivotYear</A></B>(int&nbsp;pivotYear)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will use the specified pivot year for two
 digit year parsing in preference to that stored in the parser.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withPivotYear(java.lang.Integer)">withPivotYear</A></B>(java.lang.Integer&nbsp;pivotYear)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will use the specified pivot year for two
 digit year parsing in preference to that stored in the parser.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withZone(org.joda.time.DateTimeZone)">withZone</A></B>(<A HREF="../../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</A>&nbsp;zone)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will use the specified zone in preference
 to the zone of the printed object, or default zone on a parse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withZoneUTC()">withZoneUTC</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new formatter that will use the UTC zone in preference
 to the zone of the printed object, or default zone on a parse.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="DateTimeFormatter(org.joda.time.format.DateTimePrinter, org.joda.time.format.DateTimeParser)"><!-- --></A><H3>
DateTimeFormatter</H3>
<PRE>
public <B>DateTimeFormatter</B>(<A HREF="../../../../org/joda/time/format/DateTimePrinter.html" title="interface in org.joda.time.format">DateTimePrinter</A>&nbsp;printer,
                         <A HREF="../../../../org/joda/time/format/DateTimeParser.html" title="interface in org.joda.time.format">DateTimeParser</A>&nbsp;parser)</PRE>
<DL>
<DD>Creates a new formatter, however you will normally use the factory
 or the builder.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>printer</CODE> - the internal printer, null if cannot print<DD><CODE>parser</CODE> - the internal parser, null if cannot parse</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="isPrinter()"><!-- --></A><H3>
isPrinter</H3>
<PRE>
public boolean <B>isPrinter</B>()</PRE>
<DL>
<DD>Is this formatter capable of printing.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if this is a printer</DL>
</DD>
</DL>
<HR>

<A NAME="getPrinter()"><!-- --></A><H3>
getPrinter</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimePrinter.html" title="interface in org.joda.time.format">DateTimePrinter</A> <B>getPrinter</B>()</PRE>
<DL>
<DD>Gets the internal printer object that performs the real printing work.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the internal printer; is null if printing not supported</DL>
</DD>
</DL>
<HR>

<A NAME="isParser()"><!-- --></A><H3>
isParser</H3>
<PRE>
public boolean <B>isParser</B>()</PRE>
<DL>
<DD>Is this formatter capable of parsing.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if this is a parser</DL>
</DD>
</DL>
<HR>

<A NAME="getParser()"><!-- --></A><H3>
getParser</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeParser.html" title="interface in org.joda.time.format">DateTimeParser</A> <B>getParser</B>()</PRE>
<DL>
<DD>Gets the internal parser object that performs the real parsing work.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the internal parser; is null if parsing not supported</DL>
</DD>
</DL>
<HR>

<A NAME="withLocale(java.util.Locale)"><!-- --></A><H3>
withLocale</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withLocale</B>(java.util.Locale&nbsp;locale)</PRE>
<DL>
<DD>Returns a new formatter with a different locale that will be used
 for printing and parsing.
 <p>
 A DateTimeFormatter is immutable, so a new instance is returned,
 and the original is unaltered and still usable.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale to use; if null, formatter uses default locale
 at invocation time
<DT><B>Returns:</B><DD>the new formatter</DL>
</DD>
</DL>
<HR>

<A NAME="getLocale()"><!-- --></A><H3>
getLocale</H3>
<PRE>
public java.util.Locale <B>getLocale</B>()</PRE>
<DL>
<DD>Gets the locale that will be used for printing and parsing.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the locale to use; if null, formatter uses default locale at
 invocation time</DL>
</DD>
</DL>
<HR>

<A NAME="withOffsetParsed()"><!-- --></A><H3>
withOffsetParsed</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withOffsetParsed</B>()</PRE>
<DL>
<DD>Returns a new formatter that will create a datetime with a time zone
 equal to that of the offset of the parsed string.
 <p>
 After calling this method, a string '2004-06-09T10:20:30-08:00' will
 create a datetime with a zone of -08:00 (a fixed zone, with no daylight
 savings rules). If the parsed string represents a local time (no zone
 offset) the parsed datetime will be in the default zone.
 <p>
 Calling this method sets the override zone to null.
 Calling the override zone method sets this flag off.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the new formatter</DL>
</DD>
</DL>
<HR>

<A NAME="isOffsetParsed()"><!-- --></A><H3>
isOffsetParsed</H3>
<PRE>
public boolean <B>isOffsetParsed</B>()</PRE>
<DL>
<DD>Checks whether the offset from the string is used as the zone of
 the parsed datetime.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if the offset from the string is used as the zone</DL>
</DD>
</DL>
<HR>

<A NAME="withChronology(org.joda.time.Chronology)"><!-- --></A><H3>
withChronology</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withChronology</B>(<A HREF="../../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</A>&nbsp;chrono)</PRE>
<DL>
<DD>Returns a new formatter that will use the specified chronology in
 preference to that of the printed object, or ISO on a parse.
 <p>
 When printing, this chronolgy will be used in preference to the chronology
 from the datetime that would otherwise be used.
 <p>
 When parsing, this chronology will be set on the parsed datetime.
 <p>
 A null chronology means no-override.
 If both an override chronology and an override zone are set, the
 override zone will take precedence over the zone in the chronology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>chrono</CODE> - the chronology to use as an override
<DT><B>Returns:</B><DD>the new formatter</DL>
</DD>
</DL>
<HR>

<A NAME="getChronology()"><!-- --></A><H3>
getChronology</H3>
<PRE>
public <A HREF="../../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</A> <B>getChronology</B>()</PRE>
<DL>
<DD>Gets the chronology to use as an override.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the chronology to use as an override</DL>
</DD>
</DL>
<HR>

<A NAME="getChronolgy()"><!-- --></A><H3>
getChronolgy</H3>
<PRE>
<FONT SIZE="-1">@Deprecated
</FONT>public <A HREF="../../../../org/joda/time/Chronology.html" title="class in org.joda.time">Chronology</A> <B>getChronolgy</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use the method with the correct spelling</I>
<P>
<DD>Gets the chronology to use as an override.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the chronology to use as an override</DL>
</DD>
</DL>
<HR>

<A NAME="withZoneUTC()"><!-- --></A><H3>
withZoneUTC</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withZoneUTC</B>()</PRE>
<DL>
<DD>Returns a new formatter that will use the UTC zone in preference
 to the zone of the printed object, or default zone on a parse.
 <p>
 When printing, UTC will be used in preference to the zone
 from the datetime that would otherwise be used.
 <p>
 When parsing, UTC will be set on the parsed datetime.
 <p>
 If both an override chronology and an override zone are set, the
 override zone will take precedence over the zone in the chronology.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the new formatter, never null<DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="withZone(org.joda.time.DateTimeZone)"><!-- --></A><H3>
withZone</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withZone</B>(<A HREF="../../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</A>&nbsp;zone)</PRE>
<DL>
<DD>Returns a new formatter that will use the specified zone in preference
 to the zone of the printed object, or default zone on a parse.
 <p>
 When printing, this zone will be used in preference to the zone
 from the datetime that would otherwise be used.
 <p>
 When parsing, this zone will be set on the parsed datetime.
 <p>
 A null zone means of no-override.
 If both an override chronology and an override zone are set, the
 override zone will take precedence over the zone in the chronology.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>zone</CODE> - the zone to use as an override
<DT><B>Returns:</B><DD>the new formatter</DL>
</DD>
</DL>
<HR>

<A NAME="getZone()"><!-- --></A><H3>
getZone</H3>
<PRE>
public <A HREF="../../../../org/joda/time/DateTimeZone.html" title="class in org.joda.time">DateTimeZone</A> <B>getZone</B>()</PRE>
<DL>
<DD>Gets the zone to use as an override.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the zone to use as an override</DL>
</DD>
</DL>
<HR>

<A NAME="withPivotYear(java.lang.Integer)"><!-- --></A><H3>
withPivotYear</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withPivotYear</B>(java.lang.Integer&nbsp;pivotYear)</PRE>
<DL>
<DD>Returns a new formatter that will use the specified pivot year for two
 digit year parsing in preference to that stored in the parser.
 <p>
 This setting is useful for changing the pivot year of formats built
 using a pattern - <A HREF="../../../../org/joda/time/format/DateTimeFormat.html#forPattern(java.lang.String)"><CODE>DateTimeFormat.forPattern(String)</CODE></A>.
 <p>
 When parsing, this pivot year is used. Null means no-override.
 There is no effect when printing.
 <p>
 The pivot year enables a two digit year to be converted to a four
 digit year. The pivot represents the year in the middle of the
 supported range of years. Thus the full range of years that will
 be built is <code>(pivot - 50) .. (pivot + 49)</code>.

 <pre>
 pivot   supported range   00 is   20 is   40 is   60 is   80 is
 ---------------------------------------------------------------
 1950      1900..1999      1900    1920    1940    1960    1980
 1975      1925..2024      2000    2020    1940    1960    1980
 2000      1950..2049      2000    2020    2040    1960    1980
 2025      1975..2074      2000    2020    2040    2060    1980
 2050      2000..2099      2000    2020    2040    2060    2080
 </pre>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pivotYear</CODE> - the pivot year to use as an override when parsing
<DT><B>Returns:</B><DD>the new formatter<DT><B>Since:</B></DT>
  <DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="withPivotYear(int)"><!-- --></A><H3>
withPivotYear</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withPivotYear</B>(int&nbsp;pivotYear)</PRE>
<DL>
<DD>Returns a new formatter that will use the specified pivot year for two
 digit year parsing in preference to that stored in the parser.
 <p>
 This setting is useful for changing the pivot year of formats built
 using a pattern - <A HREF="../../../../org/joda/time/format/DateTimeFormat.html#forPattern(java.lang.String)"><CODE>DateTimeFormat.forPattern(String)</CODE></A>.
 <p>
 When parsing, this pivot year is used.
 There is no effect when printing.
 <p>
 The pivot year enables a two digit year to be converted to a four
 digit year. The pivot represents the year in the middle of the
 supported range of years. Thus the full range of years that will
 be built is <code>(pivot - 50) .. (pivot + 49)</code>.

 <pre>
 pivot   supported range   00 is   20 is   40 is   60 is   80 is
 ---------------------------------------------------------------
 1950      1900..1999      1900    1920    1940    1960    1980
 1975      1925..2024      2000    2020    1940    1960    1980
 2000      1950..2049      2000    2020    2040    1960    1980
 2025      1975..2074      2000    2020    2040    2060    1980
 2050      2000..2099      2000    2020    2040    2060    2080
 </pre>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pivotYear</CODE> - the pivot year to use as an override when parsing
<DT><B>Returns:</B><DD>the new formatter<DT><B>Since:</B></DT>
  <DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getPivotYear()"><!-- --></A><H3>
getPivotYear</H3>
<PRE>
public java.lang.Integer <B>getPivotYear</B>()</PRE>
<DL>
<DD>Gets the pivot year to use as an override.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the pivot year to use as an override<DT><B>Since:</B></DT>
  <DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="withDefaultYear(int)"><!-- --></A><H3>
withDefaultYear</H3>
<PRE>
public <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html" title="class in org.joda.time.format">DateTimeFormatter</A> <B>withDefaultYear</B>(int&nbsp;defaultYear)</PRE>
<DL>
<DD>Returns a new formatter that will use the specified default year.
 <p>
 The default year is used when parsing in the case where there is a
 month or a day but not a year. Specifically, it is used if there is
 a field parsed with a duration between the length of a month and the
 length of a day inclusive.
 <p>
 This value is typically used to move the year from 1970 to a leap year
 to enable February 29th to be parsed.
 Unless customised, the year 2000 is used.
 <p>
 This setting has no effect when printing.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>defaultYear</CODE> - the default year to use
<DT><B>Returns:</B><DD>the new formatter, not null<DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultYear()"><!-- --></A><H3>
getDefaultYear</H3>
<PRE>
public int <B>getDefaultYear</B>()</PRE>
<DL>
<DD>Gets the default year for parsing months and days.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the default year for parsing months and days<DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.lang.StringBuffer, org.joda.time.ReadableInstant)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.lang.StringBuffer&nbsp;buf,
                    <A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)</PRE>
<DL>
<DD>Prints a ReadableInstant, using the chronology supplied by the instant.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - the destination to format to, not null<DD><CODE>instant</CODE> - instant to format, null means now</DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.io.Writer, org.joda.time.ReadableInstant)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.io.Writer&nbsp;out,
                    <A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)
             throws java.io.IOException</PRE>
<DL>
<DD>Prints a ReadableInstant, using the chronology supplied by the instant.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>out</CODE> - the destination to format to, not null<DD><CODE>instant</CODE> - instant to format, null means now
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.lang.Appendable, org.joda.time.ReadableInstant)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.lang.Appendable&nbsp;appendable,
                    <A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)
             throws java.io.IOException</PRE>
<DL>
<DD>Prints a ReadableInstant, using the chronology supplied by the instant.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>appendable</CODE> - the destination to format to, not null<DD><CODE>instant</CODE> - instant to format, null means now
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE><DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.lang.StringBuffer, long)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.lang.StringBuffer&nbsp;buf,
                    long&nbsp;instant)</PRE>
<DL>
<DD>Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
 using ISO chronology in the default DateTimeZone.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - the destination to format to, not null<DD><CODE>instant</CODE> - millis since 1970-01-01T00:00:00Z</DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.io.Writer, long)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.io.Writer&nbsp;out,
                    long&nbsp;instant)
             throws java.io.IOException</PRE>
<DL>
<DD>Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
 using ISO chronology in the default DateTimeZone.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>out</CODE> - the destination to format to, not null<DD><CODE>instant</CODE> - millis since 1970-01-01T00:00:00Z
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.lang.Appendable, long)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.lang.Appendable&nbsp;appendable,
                    long&nbsp;instant)
             throws java.io.IOException</PRE>
<DL>
<DD>Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
 using ISO chronology in the default DateTimeZone.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>appendable</CODE> - the destination to format to, not null<DD><CODE>instant</CODE> - millis since 1970-01-01T00:00:00Z
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE><DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.lang.StringBuffer, org.joda.time.ReadablePartial)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.lang.StringBuffer&nbsp;buf,
                    <A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)</PRE>
<DL>
<DD>Prints a ReadablePartial.
 <p>
 Neither the override chronology nor the override zone are used
 by this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - the destination to format to, not null<DD><CODE>partial</CODE> - partial to format</DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.io.Writer, org.joda.time.ReadablePartial)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.io.Writer&nbsp;out,
                    <A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)
             throws java.io.IOException</PRE>
<DL>
<DD>Prints a ReadablePartial.
 <p>
 Neither the override chronology nor the override zone are used
 by this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>out</CODE> - the destination to format to, not null<DD><CODE>partial</CODE> - partial to format
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="printTo(java.lang.Appendable, org.joda.time.ReadablePartial)"><!-- --></A><H3>
printTo</H3>
<PRE>
public void <B>printTo</B>(java.lang.Appendable&nbsp;appendable,
                    <A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)
             throws java.io.IOException</PRE>
<DL>
<DD>Prints a ReadablePartial.
 <p>
 Neither the override chronology nor the override zone are used
 by this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>appendable</CODE> - the destination to format to, not null<DD><CODE>partial</CODE> - partial to format
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE><DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="print(org.joda.time.ReadableInstant)"><!-- --></A><H3>
print</H3>
<PRE>
public java.lang.String <B>print</B>(<A HREF="../../../../org/joda/time/ReadableInstant.html" title="interface in org.joda.time">ReadableInstant</A>&nbsp;instant)</PRE>
<DL>
<DD>Prints a ReadableInstant to a String.
 <p>
 This method will use the override zone and the override chronololgy if
 they are set. Otherwise it will use the chronology and zone of the instant.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>instant</CODE> - instant to format, null means now
<DT><B>Returns:</B><DD>the printed result</DL>
</DD>
</DL>
<HR>

<A NAME="print(long)"><!-- --></A><H3>
print</H3>
<PRE>
public java.lang.String <B>print</B>(long&nbsp;instant)</PRE>
<DL>
<DD>Prints a millisecond instant to a String.
 <p>
 This method will use the override zone and the override chronololgy if
 they are set. Otherwise it will use the ISO chronology and default zone.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>instant</CODE> - millis since 1970-01-01T00:00:00Z
<DT><B>Returns:</B><DD>the printed result</DL>
</DD>
</DL>
<HR>

<A NAME="print(org.joda.time.ReadablePartial)"><!-- --></A><H3>
print</H3>
<PRE>
public java.lang.String <B>print</B>(<A HREF="../../../../org/joda/time/ReadablePartial.html" title="interface in org.joda.time">ReadablePartial</A>&nbsp;partial)</PRE>
<DL>
<DD>Prints a ReadablePartial to a new String.
 <p>
 Neither the override chronology nor the override zone are used
 by this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>partial</CODE> - partial to format
<DT><B>Returns:</B><DD>the printed result</DL>
</DD>
</DL>
<HR>

<A NAME="parseInto(org.joda.time.ReadWritableInstant, java.lang.String, int)"><!-- --></A><H3>
parseInto</H3>
<PRE>
public int <B>parseInto</B>(<A HREF="../../../../org/joda/time/ReadWritableInstant.html" title="interface in org.joda.time">ReadWritableInstant</A>&nbsp;instant,
                     java.lang.String&nbsp;text,
                     int&nbsp;position)</PRE>
<DL>
<DD>Parses a datetime from the given text, at the given position, saving the
 result into the fields of the given ReadWritableInstant. If the parse
 succeeds, the return value is the new text position. Note that the parse
 may succeed without fully reading the text and in this case those fields
 that were read will be set.
 <p>
 Only those fields present in the string will be changed in the specified
 instant. All other fields will remain unaltered. Thus if the string only
 contains a year and a month, then the day and time will be retained from
 the input instant. If this is not the behaviour you want, then reset the
 fields before calling this method, or use <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseDateTime(java.lang.String)"><CODE>parseDateTime(String)</CODE></A>
 or <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#parseMutableDateTime(java.lang.String)"><CODE>parseMutableDateTime(String)</CODE></A>.
 <p>
 If it fails, the return value is negative, but the instant may still be
 modified. To determine the position where the parse failed, apply the
 one's complement operator (~) on the return value.
 <p>
 The parse will use the chronology of the instant.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>instant</CODE> - an instant that will be modified, not null<DD><CODE>text</CODE> - the text to parse<DD><CODE>position</CODE> - position to start parsing from
<DT><B>Returns:</B><DD>new position, negative value means parse failed -
  apply complement operator (~) to get position of failure
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the instant is null
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if any field is out of range</DL>
</DD>
</DL>
<HR>

<A NAME="parseMillis(java.lang.String)"><!-- --></A><H3>
parseMillis</H3>
<PRE>
public long <B>parseMillis</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Parses a datetime from the given text, returning the number of
 milliseconds since the epoch, 1970-01-01T00:00:00Z.
 <p>
 The parse will use the ISO chronology, and the default time zone.
 If the text contains a time zone string then that will be taken into account.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to parse
<DT><B>Returns:</B><DD>parsed value expressed in milliseconds since the epoch
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the text to parse is invalid</DL>
</DD>
</DL>
<HR>

<A NAME="parseLocalDate(java.lang.String)"><!-- --></A><H3>
parseLocalDate</H3>
<PRE>
public <A HREF="../../../../org/joda/time/LocalDate.html" title="class in org.joda.time">LocalDate</A> <B>parseLocalDate</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Parses only the local date from the given text, returning a new LocalDate.
 <p>
 This will parse the text fully according to the formatter, using the UTC zone.
 Once parsed, only the local date will be used.
 This means that any parsed time, time-zone or offset field is completely ignored.
 It also means that the zone and offset-parsed settings are ignored.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to parse, not null
<DT><B>Returns:</B><DD>the parsed date, never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the text to parse is invalid<DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="parseLocalTime(java.lang.String)"><!-- --></A><H3>
parseLocalTime</H3>
<PRE>
public <A HREF="../../../../org/joda/time/LocalTime.html" title="class in org.joda.time">LocalTime</A> <B>parseLocalTime</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Parses only the local time from the given text, returning a new LocalDate.
 <p>
 This will parse the text fully according to the formatter, using the UTC zone.
 Once parsed, only the local time will be used.
 This means that any parsed date, time-zone or offset field is completely ignored.
 It also means that the zone and offset-parsed settings are ignored.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to parse, not null
<DT><B>Returns:</B><DD>the parsed time, never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the text to parse is invalid<DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="parseLocalDateTime(java.lang.String)"><!-- --></A><H3>
parseLocalDateTime</H3>
<PRE>
public <A HREF="../../../../org/joda/time/LocalDateTime.html" title="class in org.joda.time">LocalDateTime</A> <B>parseLocalDateTime</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Parses only the local date-time from the given text, returning a new LocalDate.
 <p>
 This will parse the text fully according to the formatter, using the UTC zone.
 Once parsed, only the local date-time will be used.
 This means that any parsed time-zone or offset field is completely ignored.
 It also means that the zone and offset-parsed settings are ignored.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to parse, not null
<DT><B>Returns:</B><DD>the parsed date-time, never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the text to parse is invalid<DT><B>Since:</B></DT>
  <DD>2.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="parseDateTime(java.lang.String)"><!-- --></A><H3>
parseDateTime</H3>
<PRE>
public <A HREF="../../../../org/joda/time/DateTime.html" title="class in org.joda.time">DateTime</A> <B>parseDateTime</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Parses a date-time from the given text, returning a new DateTime.
 <p>
 The parse will use the zone and chronology specified on this formatter.
 <p>
 If the text contains a time zone string then that will be taken into
 account in adjusting the time of day as follows.
 If the <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withOffsetParsed()"><CODE>withOffsetParsed()</CODE></A> has been called, then the resulting
 DateTime will have a fixed offset based on the parsed time zone.
 Otherwise the resulting DateTime will have the zone of this formatter,
 but the parsed zone may have caused the time to be adjusted.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to parse, not null
<DT><B>Returns:</B><DD>the parsed date-time, never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the text to parse is invalid</DL>
</DD>
</DL>
<HR>

<A NAME="parseMutableDateTime(java.lang.String)"><!-- --></A><H3>
parseMutableDateTime</H3>
<PRE>
public <A HREF="../../../../org/joda/time/MutableDateTime.html" title="class in org.joda.time">MutableDateTime</A> <B>parseMutableDateTime</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Parses a date-time from the given text, returning a new MutableDateTime.
 <p>
 The parse will use the zone and chronology specified on this formatter.
 <p>
 If the text contains a time zone string then that will be taken into
 account in adjusting the time of day as follows.
 If the <A HREF="../../../../org/joda/time/format/DateTimeFormatter.html#withOffsetParsed()"><CODE>withOffsetParsed()</CODE></A> has been called, then the resulting
 DateTime will have a fixed offset based on the parsed time zone.
 Otherwise the resulting DateTime will have the zone of this formatter,
 but the parsed zone may have caused the time to be adjusted.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to parse, not null
<DT><B>Returns:</B><DD>the parsed date-time, never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if parsing is not supported
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the text to parse is invalid</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DateTimeFormatter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormat.html" title="class in org.joda.time.format"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/joda/time/format/DateTimeFormatterBuilder.html" title="class in org.joda.time.format"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?org/joda/time/format/DateTimeFormatter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DateTimeFormatter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#169; 2002-2012 <a href="http://www.joda.org">Joda.org</a>. All Rights Reserved.
</BODY>
</HTML>