mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/persistence/AbstractDataStore.java
protected void validateArgumentStartStopTimes(final Date startTime,
                                                  final Date stopTime)
            throws IllegalArgumentException
    {
        if (startTime == null)
        {
            throw new IllegalArgumentException("startTime must not be null");
        }
        else if (stopTime == null)
        {
            throw new IllegalArgumentException("stopTime must not be null");
        }
        else if (stopTime.getTime() < startTime.getTime())
        {
            throw new IllegalArgumentException("startTime must not be after stopTime");
        }
    }
/**
     * Helper method to validate start/stop time arguments.
     * 
     * @param startTime
     *            the specified startTime
     * @param stopTime
     *            the specified stopTime
     * @throws IllegalArgumentException
     *             if either argument is null, or startTime is after stopTime
     */
Helper method to validate start/stop time arguments.

@param startTime
the specified startTime
@param stopTime
the specified stopTime
@throws IllegalArgumentException
if either argument is null, or startTime is after stopTime
Helper method to validate start / stop time arguments . @param startTime the specified startTime @param stopTime the specified stopTime @throws IllegalArgumentException if either argument is null or startTime is after stopTime
protected void validateArgumentStartStopTimes(final Date startTime,
                                                  final Date stopTime)
            throws IllegalArgumentException
    {
        if (startTime == null)
        {
            throw new IllegalArgumentException("startTime must not be null");
        }
        else if (stopTime == null)
        {
            throw new IllegalArgumentException("stopTime must not be null");
        }
        else if (stopTime.getTime() < startTime.getTime())
        {
            throw new IllegalArgumentException("startTime must not be after stopTime");
        }
    }
protected void validateArgumentStartStopTimes ( final Date startTime , final Date stopTime ) throws IllegalArgumentException { if ( startTime == null ) { throw new IllegalArgumentException ( "startTime must not be null" ) ; } else if ( stopTime == null ) { throw new IllegalArgumentException ( "stopTime must not be null" ) ; } else if ( stopTime . getTime ( ) < startTime . getTime ( ) ) { throw new IllegalArgumentException ( "startTime must not be after stopTime" ) ; } }
Helper method to validate start/stop time arguments.
Helper method to validate start / stop time arguments .