code: public long getTimeRangeEndingTimeInMillis (final long timeInMillis)
    {
      final Calendar rangeEndingTime = createJavaCalendar (timeInMillis);
      rangeEndingTime.set (Calendar.HOUR_OF_DAY, m_nRangeEndingHourOfDay);
      rangeEndingTime.set (Calendar.MINUTE, m_nRangeEndingMinute);
      rangeEndingTime.set (Calendar.SECOND, m_nRangeEndingSecond);
      rangeEndingTime.set (Calendar.MILLISECOND, m_nRangeEndingMillis);
      return rangeEndingTime.getTime ().getTime ();
    }
docs: Returns the end time of the time range (in milliseconds) of the day
  specified in <CODE>timeInMillis</CODE>
  
  @param timeInMillis
  a time containing the desired date for the ending time of the time
  range.
  @return a date/time (in milliseconds) representing the end time of the time
  range for the specified date.