Exemplo n.º 1
0
 /**
  * Gets the field type at the specified index.
  *
  * @param index the index to retrieve
  * @return the field at the specified index
  * @throws IndexOutOfBoundsException if the index is invalid
  */
 public DurationFieldType getFieldType(int index) {
   return iType.getFieldType(index);
 }
Exemplo n.º 2
0
 /**
  * Gets the number of fields that this period supports.
  *
  * @return the number of fields supported
  */
 public int size() {
   return iType.size();
 }