コード例 #1
0
 /**
  * Gets an instance of the JulianChronology in the specified zone.
  *
  * <p>{@link JulianChronology} defines all fields using standard meanings. It uses the Julian
  * calendar rules <i>for all time</i> (proleptic). The Julian calendar system defines a leap year
  * every four years.
  *
  * @param zone the zone to use, null means default zone
  * @return the Julian chronology
  * @deprecated Use JulianChronology.getInstance(zone)
  */
 public static Chronology getJulian(DateTimeZone zone) {
   return JulianChronology.getInstance(zone);
 }
コード例 #2
0
 /**
  * Gets an instance of the JulianChronology in the UTC zone.
  *
  * <p>{@link JulianChronology} defines all fields using standard meanings. It uses the Julian
  * calendar rules <i>for all time</i> (proleptic). The Julian calendar system defines a leap year
  * every four years.
  *
  * @return the Julian chronology
  * @deprecated Use JulianChronology.getInstanceUTC()
  */
 public static Chronology getJulianUTC() {
   return JulianChronology.getInstanceUTC();
 }