1 16 package org.joda.time; 17 18 28 public interface ReadWritableInstant extends ReadableInstant { 29 30 38 void setMillis(long instant); 39 40 48 void setMillis(ReadableInstant instant); 49 50 56 void setChronology(Chronology chronology); 57 58 72 void setZone(DateTimeZone zone); 73 74 85 void setZoneRetainFields(DateTimeZone zone); 86 87 96 void add(long duration); 97 98 106 void add(ReadableDuration duration); 107 108 117 void add(ReadableDuration duration, int scalar); 118 119 127 void add(ReadablePeriod period); 128 129 138 void add(ReadablePeriod period, int scalar); 139 140 148 void set(DateTimeFieldType type, int value); 149 150 157 void add(DurationFieldType type, int amount); 158 159 } 160 | Popular Tags |