public Year(int year){
  if ((year < Year.MINIMUM_YEAR) || (year > Year.MAXIMUM_YEAR)) {
    throw new IllegalArgumentException("Year constructor: year (" + year + ") outside valid range.");
  }
  this.year=(short)year;
  peg(Calendar.getInstance());
}

public Year ( int year ) { if ( ( year < Year . MINIMUM_YEAR ) || ( year > Year . MAXIMUM_YEAR ) ) { throw new IllegalArgumentException ( "Year constructor: year (" + year + ") outside valid range." ) ; } this . year = ( short ) year ; peg ( Calendar . getInstance ( ) ) ; }
creates a time period representing a single year .
