This file is indexed.

/usr/share/doc/libjoda-time-java/api/org/joda/time/ReadWritablePeriod.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
<!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:13 UTC 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ReadWritablePeriod (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="ReadWritablePeriod (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/ReadWritablePeriod.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/ReadWritableInterval.html" title="interface in org.joda.time"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/joda/time/Seconds.html" title="class in org.joda.time"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?org/joda/time/ReadWritablePeriod.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ReadWritablePeriod.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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</FONT>
<BR>
Interface ReadWritablePeriod</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/joda/time/MutablePeriod.html" title="class in org.joda.time">MutablePeriod</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>ReadWritablePeriod</B><DT>extends <A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A></DL>
</PRE>

<P>
Defines a duration of time that can be queried and modified using datetime fields.
 <p>
 The implementation of this interface will be mutable.
 It may provide more advanced methods than those in the interface.
<P>

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

<P>

<!-- ========== 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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/joda/time/ReadWritablePeriod.html#add(org.joda.time.DurationFieldType, int)">add</A></B>(<A HREF="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</A>&nbsp;field,
    int&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds to the value of one of the fields.</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/ReadWritablePeriod.html#add(int, int, int, int, int, int, int, int)">add</A></B>(int&nbsp;years,
    int&nbsp;months,
    int&nbsp;weeks,
    int&nbsp;days,
    int&nbsp;hours,
    int&nbsp;minutes,
    int&nbsp;seconds,
    int&nbsp;millis)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds to each field of this period.</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/ReadWritablePeriod.html#add(org.joda.time.ReadableInterval)">add</A></B>(<A HREF="../../../org/joda/time/ReadableInterval.html" title="interface in org.joda.time">ReadableInterval</A>&nbsp;interval)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an interval to this one by dividing the interval into
 fields and then adding each field in turn.</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/ReadWritablePeriod.html#add(org.joda.time.ReadablePeriod)">add</A></B>(<A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A>&nbsp;period)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a period to this one by adding each field in turn.</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/ReadWritablePeriod.html#addDays(int)">addDays</A></B>(int&nbsp;days)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified days to the number of days in the period.</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/ReadWritablePeriod.html#addHours(int)">addHours</A></B>(int&nbsp;hours)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified hours to the number of hours in the period.</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/ReadWritablePeriod.html#addMillis(int)">addMillis</A></B>(int&nbsp;millis)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified millis to the number of millis in the period.</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/ReadWritablePeriod.html#addMinutes(int)">addMinutes</A></B>(int&nbsp;minutes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified minutes to the number of minutes in the period.</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/ReadWritablePeriod.html#addMonths(int)">addMonths</A></B>(int&nbsp;months)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified months to the number of months in the period.</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/ReadWritablePeriod.html#addSeconds(int)">addSeconds</A></B>(int&nbsp;seconds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified seconds to the number of seconds in the period.</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/ReadWritablePeriod.html#addWeeks(int)">addWeeks</A></B>(int&nbsp;weeks)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified weeks to the number of weeks in the period.</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/ReadWritablePeriod.html#addYears(int)">addYears</A></B>(int&nbsp;years)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified years to the number of years in the period.</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/ReadWritablePeriod.html#clear()">clear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the period, setting all values back to zero.</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/ReadWritablePeriod.html#set(org.joda.time.DurationFieldType, int)">set</A></B>(<A HREF="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</A>&nbsp;field,
    int&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of one of the fields.</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/ReadWritablePeriod.html#setDays(int)">setDays</A></B>(int&nbsp;days)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of days of the period.</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/ReadWritablePeriod.html#setHours(int)">setHours</A></B>(int&nbsp;hours)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of hours of the period.</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/ReadWritablePeriod.html#setMillis(int)">setMillis</A></B>(int&nbsp;millis)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of millis of the period.</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/ReadWritablePeriod.html#setMinutes(int)">setMinutes</A></B>(int&nbsp;minutes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of minutes of the period.</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/ReadWritablePeriod.html#setMonths(int)">setMonths</A></B>(int&nbsp;months)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of months of the period.</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/ReadWritablePeriod.html#setPeriod(int, int, int, int, int, int, int, int)">setPeriod</A></B>(int&nbsp;years,
          int&nbsp;months,
          int&nbsp;weeks,
          int&nbsp;days,
          int&nbsp;hours,
          int&nbsp;minutes,
          int&nbsp;seconds,
          int&nbsp;millis)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets all the fields in one go.</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/ReadWritablePeriod.html#setPeriod(org.joda.time.ReadableInterval)">setPeriod</A></B>(<A HREF="../../../org/joda/time/ReadableInterval.html" title="interface in org.joda.time">ReadableInterval</A>&nbsp;interval)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets all the fields in one go from an interval dividing the
 fields using the period type.</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/ReadWritablePeriod.html#setPeriod(org.joda.time.ReadablePeriod)">setPeriod</A></B>(<A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A>&nbsp;period)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets all the fields in one go from another ReadablePeriod.</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/ReadWritablePeriod.html#setSeconds(int)">setSeconds</A></B>(int&nbsp;seconds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of seconds of the period.</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/ReadWritablePeriod.html#setValue(int, int)">setValue</A></B>(int&nbsp;index,
         int&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of one of the fields by index.</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/ReadWritablePeriod.html#setWeeks(int)">setWeeks</A></B>(int&nbsp;weeks)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of weeks of the period.</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/ReadWritablePeriod.html#setYears(int)">setYears</A></B>(int&nbsp;years)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of years of the period.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.joda.time.ReadablePeriod"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.joda.time.<A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../org/joda/time/ReadablePeriod.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#get(org.joda.time.DurationFieldType)">get</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#getFieldType(int)">getFieldType</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#getPeriodType()">getPeriodType</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#getValue(int)">getValue</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#hashCode()">hashCode</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#isSupported(org.joda.time.DurationFieldType)">isSupported</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#size()">size</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#toMutablePeriod()">toMutablePeriod</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#toPeriod()">toPeriod</A>, <A HREF="../../../org/joda/time/ReadablePeriod.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ 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="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
void <B>clear</B>()</PRE>
<DL>
<DD>Clears the period, setting all values back to zero.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setValue(int, int)"><!-- --></A><H3>
setValue</H3>
<PRE>
void <B>setValue</B>(int&nbsp;index,
              int&nbsp;value)</PRE>
<DL>
<DD>Sets the value of one of the fields by index.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the field index<DD><CODE>value</CODE> - the new value for the field
<DT><B>Throws:</B>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if the index is invalid</DL>
</DD>
</DL>
<HR>

<A NAME="set(org.joda.time.DurationFieldType, int)"><!-- --></A><H3>
set</H3>
<PRE>
void <B>set</B>(<A HREF="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</A>&nbsp;field,
         int&nbsp;value)</PRE>
<DL>
<DD>Sets the value of one of the fields.
 <p>
 The field type specified must be one of those that is supported by the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field</CODE> - a DurationFieldType instance that is supported by this period<DD><CODE>value</CODE> - the new value for the field
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the field is null or not supported</DL>
</DD>
</DL>
<HR>

<A NAME="setPeriod(org.joda.time.ReadablePeriod)"><!-- --></A><H3>
setPeriod</H3>
<PRE>
void <B>setPeriod</B>(<A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A>&nbsp;period)</PRE>
<DL>
<DD>Sets all the fields in one go from another ReadablePeriod.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>period</CODE> - the period to set, null means zero length period
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if an unsupported field's value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="setPeriod(int, int, int, int, int, int, int, int)"><!-- --></A><H3>
setPeriod</H3>
<PRE>
void <B>setPeriod</B>(int&nbsp;years,
               int&nbsp;months,
               int&nbsp;weeks,
               int&nbsp;days,
               int&nbsp;hours,
               int&nbsp;minutes,
               int&nbsp;seconds,
               int&nbsp;millis)</PRE>
<DL>
<DD>Sets all the fields in one go.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>years</CODE> - amount of years in this period, which must be zero if unsupported<DD><CODE>months</CODE> - amount of months in this period, which must be zero if unsupported<DD><CODE>weeks</CODE> - amount of weeks in this period, which must be zero if unsupported<DD><CODE>days</CODE> - amount of days in this period, which must be zero if unsupported<DD><CODE>hours</CODE> - amount of hours in this period, which must be zero if unsupported<DD><CODE>minutes</CODE> - amount of minutes in this period, which must be zero if unsupported<DD><CODE>seconds</CODE> - amount of seconds in this period, which must be zero if unsupported<DD><CODE>millis</CODE> - amount of milliseconds in this period, which must be zero if unsupported
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if an unsupported field's value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="setPeriod(org.joda.time.ReadableInterval)"><!-- --></A><H3>
setPeriod</H3>
<PRE>
void <B>setPeriod</B>(<A HREF="../../../org/joda/time/ReadableInterval.html" title="interface in org.joda.time">ReadableInterval</A>&nbsp;interval)</PRE>
<DL>
<DD>Sets all the fields in one go from an interval dividing the
 fields using the period type.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>interval</CODE> - the interval to set, null means zero length</DL>
</DD>
</DL>
<HR>

<A NAME="add(org.joda.time.DurationFieldType, int)"><!-- --></A><H3>
add</H3>
<PRE>
void <B>add</B>(<A HREF="../../../org/joda/time/DurationFieldType.html" title="class in org.joda.time">DurationFieldType</A>&nbsp;field,
         int&nbsp;value)</PRE>
<DL>
<DD>Adds to the value of one of the fields.
 <p>
 The field type specified must be one of those that is supported by the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>field</CODE> - a DurationFieldType instance that is supported by this period<DD><CODE>value</CODE> - the value to add to the field
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the field is null or not supported</DL>
</DD>
</DL>
<HR>

<A NAME="add(org.joda.time.ReadablePeriod)"><!-- --></A><H3>
add</H3>
<PRE>
void <B>add</B>(<A HREF="../../../org/joda/time/ReadablePeriod.html" title="interface in org.joda.time">ReadablePeriod</A>&nbsp;period)</PRE>
<DL>
<DD>Adds a period to this one by adding each field in turn.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>period</CODE> - the period to add, null means add nothing
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the period being added contains a field
 not supported by this period
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="add(int, int, int, int, int, int, int, int)"><!-- --></A><H3>
add</H3>
<PRE>
void <B>add</B>(int&nbsp;years,
         int&nbsp;months,
         int&nbsp;weeks,
         int&nbsp;days,
         int&nbsp;hours,
         int&nbsp;minutes,
         int&nbsp;seconds,
         int&nbsp;millis)</PRE>
<DL>
<DD>Adds to each field of this period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>years</CODE> - amount of years to add to this period, which must be zero if unsupported<DD><CODE>months</CODE> - amount of months to add to this period, which must be zero if unsupported<DD><CODE>weeks</CODE> - amount of weeks to add to this period, which must be zero if unsupported<DD><CODE>days</CODE> - amount of days to add to this period, which must be zero if unsupported<DD><CODE>hours</CODE> - amount of hours to add to this period, which must be zero if unsupported<DD><CODE>minutes</CODE> - amount of minutes to add to this period, which must be zero if unsupported<DD><CODE>seconds</CODE> - amount of seconds to add to this period, which must be zero if unsupported<DD><CODE>millis</CODE> - amount of milliseconds to add to this period, which must be zero if unsupported
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the period being added contains a field
 not supported by this period
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="add(org.joda.time.ReadableInterval)"><!-- --></A><H3>
add</H3>
<PRE>
void <B>add</B>(<A HREF="../../../org/joda/time/ReadableInterval.html" title="interface in org.joda.time">ReadableInterval</A>&nbsp;interval)</PRE>
<DL>
<DD>Adds an interval to this one by dividing the interval into
 fields and then adding each field in turn.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>interval</CODE> - the interval to add, null means add nothing
<DT><B>Throws:</B>
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setYears(int)"><!-- --></A><H3>
setYears</H3>
<PRE>
void <B>setYears</B>(int&nbsp;years)</PRE>
<DL>
<DD>Sets the number of years of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>years</CODE> - the number of years
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addYears(int)"><!-- --></A><H3>
addYears</H3>
<PRE>
void <B>addYears</B>(int&nbsp;years)</PRE>
<DL>
<DD>Adds the specified years to the number of years in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>years</CODE> - the number of years
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setMonths(int)"><!-- --></A><H3>
setMonths</H3>
<PRE>
void <B>setMonths</B>(int&nbsp;months)</PRE>
<DL>
<DD>Sets the number of months of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>months</CODE> - the number of months
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addMonths(int)"><!-- --></A><H3>
addMonths</H3>
<PRE>
void <B>addMonths</B>(int&nbsp;months)</PRE>
<DL>
<DD>Adds the specified months to the number of months in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>months</CODE> - the number of months
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setWeeks(int)"><!-- --></A><H3>
setWeeks</H3>
<PRE>
void <B>setWeeks</B>(int&nbsp;weeks)</PRE>
<DL>
<DD>Sets the number of weeks of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>weeks</CODE> - the number of weeks
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addWeeks(int)"><!-- --></A><H3>
addWeeks</H3>
<PRE>
void <B>addWeeks</B>(int&nbsp;weeks)</PRE>
<DL>
<DD>Adds the specified weeks to the number of weeks in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>weeks</CODE> - the number of weeks
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setDays(int)"><!-- --></A><H3>
setDays</H3>
<PRE>
void <B>setDays</B>(int&nbsp;days)</PRE>
<DL>
<DD>Sets the number of days of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>days</CODE> - the number of days
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addDays(int)"><!-- --></A><H3>
addDays</H3>
<PRE>
void <B>addDays</B>(int&nbsp;days)</PRE>
<DL>
<DD>Adds the specified days to the number of days in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>days</CODE> - the number of days
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setHours(int)"><!-- --></A><H3>
setHours</H3>
<PRE>
void <B>setHours</B>(int&nbsp;hours)</PRE>
<DL>
<DD>Sets the number of hours of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hours</CODE> - the number of hours
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addHours(int)"><!-- --></A><H3>
addHours</H3>
<PRE>
void <B>addHours</B>(int&nbsp;hours)</PRE>
<DL>
<DD>Adds the specified hours to the number of hours in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hours</CODE> - the number of hours
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setMinutes(int)"><!-- --></A><H3>
setMinutes</H3>
<PRE>
void <B>setMinutes</B>(int&nbsp;minutes)</PRE>
<DL>
<DD>Sets the number of minutes of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>minutes</CODE> - the number of minutes
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addMinutes(int)"><!-- --></A><H3>
addMinutes</H3>
<PRE>
void <B>addMinutes</B>(int&nbsp;minutes)</PRE>
<DL>
<DD>Adds the specified minutes to the number of minutes in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>minutes</CODE> - the number of minutes
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setSeconds(int)"><!-- --></A><H3>
setSeconds</H3>
<PRE>
void <B>setSeconds</B>(int&nbsp;seconds)</PRE>
<DL>
<DD>Sets the number of seconds of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>seconds</CODE> - the number of seconds
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addSeconds(int)"><!-- --></A><H3>
addSeconds</H3>
<PRE>
void <B>addSeconds</B>(int&nbsp;seconds)</PRE>
<DL>
<DD>Adds the specified seconds to the number of seconds in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>seconds</CODE> - the number of seconds
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</DL>
</DD>
</DL>
<HR>

<A NAME="setMillis(int)"><!-- --></A><H3>
setMillis</H3>
<PRE>
void <B>setMillis</B>(int&nbsp;millis)</PRE>
<DL>
<DD>Sets the number of millis of the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>millis</CODE> - the number of millis
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero</DL>
</DD>
</DL>
<HR>

<A NAME="addMillis(int)"><!-- --></A><H3>
addMillis</H3>
<PRE>
void <B>addMillis</B>(int&nbsp;millis)</PRE>
<DL>
<DD>Adds the specified millis to the number of millis in the period.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>millis</CODE> - the number of millis
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if field is not supported and the value is non-zero
<DD><CODE>java.lang.ArithmeticException</CODE> - if the addition exceeds the capacity of the period</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/ReadWritablePeriod.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/ReadWritableInterval.html" title="interface in org.joda.time"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/joda/time/Seconds.html" title="class in org.joda.time"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?org/joda/time/ReadWritablePeriod.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ReadWritablePeriod.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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>