private boolean isTypedTimeFullyLegal(){
  if (mIs24HourView) {
    int[] values=getEnteredTime(null);
    return (values[0] >= 0 && values[1] >= 0 && values[1] < 60);
  }
 else {
    return (mTypedTimes.contains(getAmOrPmKeyCode(AM)) || mTypedTimes.contains(getAmOrPmKeyCode(PM)));
  }
}

private boolean isTypedTimeFullyLegal ( ) { if ( mIs24HourView ) { int [ ] values = getEnteredTime ( null ) ; return ( values [ 0 ] >= 0 && values [ 1 ] >= 0 && values [ 1 ] < 60 ) ; } else { return ( mTypedTimes . contains ( getAmOrPmKeyCode ( AM ) ) || mTypedTimes . contains ( getAmOrPmKeyCode ( PM ) ) ) ; } }
check if the time that has been typed so far is completely legal , as is .
