@Override
  public boolean isTimeIncluded (final long timeInMillis)
  {
    if ((getBaseCalendar () != null) && (getBaseCalendar ().isTimeIncluded (timeInMillis) == false))
    {
      return false;
    }

    final long startOfDayInMillis = getStartOfDayJavaCalendar (timeInMillis).getTime ().getTime ();
    final long endOfDayInMillis = getEndOfDayJavaCalendar (timeInMillis).getTime ().getTime ();
    final long timeRangeStartingTimeInMillis = getTimeRangeStartingTimeInMillis (timeInMillis);
    final long timeRangeEndingTimeInMillis = getTimeRangeEndingTimeInMillis (timeInMillis);
    if (!m_bInvertTimeRange)
    {
      return ((timeInMillis > startOfDayInMillis && timeInMillis < timeRangeStartingTimeInMillis) ||
              (timeInMillis > timeRangeEndingTimeInMillis && timeInMillis < endOfDayInMillis));
    }
    return ((timeInMillis >= timeRangeStartingTimeInMillis) && (timeInMillis <= timeRangeEndingTimeInMillis));
  }
@ Override public boolean isTimeIncluded ( final long timeInMillis ) { if ( ( getBaseCalendar ( ) != null ) && ( getBaseCalendar ( ) . isTimeIncluded ( timeInMillis ) == false ) ) { return false ; } final long startOfDayInMillis = getStartOfDayJavaCalendar ( timeInMillis ) . getTime ( ) . getTime ( ) ; final long endOfDayInMillis = getEndOfDayJavaCalendar ( timeInMillis ) . getTime ( ) . getTime ( ) ; final long timeRangeStartingTimeInMillis = getTimeRangeStartingTimeInMillis ( timeInMillis ) ; final long timeRangeEndingTimeInMillis = getTimeRangeEndingTimeInMillis ( timeInMillis ) ; if ( ! m_bInvertTimeRange ) { return ( ( timeInMillis > startOfDayInMillis && timeInMillis < timeRangeStartingTimeInMillis ) || ( timeInMillis > timeRangeEndingTimeInMillis && timeInMillis < endOfDayInMillis ) ) ; } return ( ( timeInMillis >= timeRangeStartingTimeInMillis ) && ( timeInMillis <= timeRangeEndingTimeInMillis ) ) ; }
Determines whether the given time (in milliseconds) is 'included' by the
<CODE>BaseCalendar</CODE>

@param timeInMillis
the date/time to test
@return a boolean indicating whether the specified time is 'included' by
the <CODE>BaseCalendar</CODE>