private int numSecondsInTimePortion() {
    int result = 0;
    if (fSecond != null) {
      result = result + fSecond;
    }
    if (fMinute != null) {
      result = result + 60 * fMinute;
    }
    if (fHour != null) {
      result = result + 3600 * fHour;
    }
    return result;
  }