Ejemplo n.º 1
0
 /**
  * Gets the chronology of the datetime that this property is linked to.
  *
  * @return the chronology
  * @since 1.4
  */
 protected Chronology getChronology() {
   return iInstant.getChronology();
 }
Ejemplo n.º 2
0
 /** Reads the property from a safe serialization format. */
 private void readObject(ObjectInputStream oos) throws IOException, ClassNotFoundException {
   iInstant = (MutableDateTime) oos.readObject();
   DateTimeFieldType type = (DateTimeFieldType) oos.readObject();
   iField = type.getField(iInstant.getChronology());
 }