Exemplo n.º 1
0
 /**
  * Gets an instance of the ISOChronology in the UTC zone.
  *
  * <p>{@link ISOChronology} defines all fields in line with the ISO8601 standard. This chronology
  * is the default, and is suitable for all normal datetime processing. It is <i>unsuitable</i> for
  * historical datetimes before October 15, 1582 as it applies the modern Gregorian calendar rules
  * before that date.
  *
  * @return the ISO chronology
  * @deprecated Use ISOChronology.getInstanceUTC()
  */
 public static Chronology getISOUTC() {
   return ISOChronology.getInstanceUTC();
 }
Exemplo n.º 2
0
 /**
  * Gets an instance of the ISOChronology in the specified zone.
  *
  * <p>{@link ISOChronology} defines all fields in line with the ISO8601 standard. This chronology
  * is the default, and is suitable for all normal datetime processing. It is <i>unsuitable</i> for
  * historical datetimes before October 15, 1582 as it applies the modern Gregorian calendar rules
  * before that date.
  *
  * @param zone the zone to use, null means default zone
  * @return the ISO chronology
  * @deprecated Use ISOChronology.getInstance(zone)
  */
 public static Chronology getISO(DateTimeZone zone) {
   return ISOChronology.getInstance(zone);
 }
 public DurationField getDurationField() {
   return ISOChronology.getInstanceUTC().seconds();
 }
 public DurationField getRangeDurationField() {
   return ISOChronology.getInstanceUTC().minutes();
 }
 public Chronology getChronology() {
   return ISOChronology.getInstance();
 }