コード例 #1
0
 /** Restricted constructor */
 GJEraDateTimeField(BasicChronology chronology) {
   super(DateTimeFieldType.era());
   iChronology = chronology;
 }
コード例 #2
0
ファイル: BaseChronology.java プロジェクト: syntelos/gap-data
 /**
  * Get the era field for this chronology.
  *
  * @return DateTimeField or UnsupportedDateTimeField if unsupported
  */
 public DateTimeField era() {
   return UnsupportedDateTimeField.getInstance(DateTimeFieldType.era(), eras());
 }