class StrictTimeConstraint extends TimeConstraint {

    @Override
    public boolean check(TimeSpan span)
    {
        return isNegative() ^ getTimeSpan().equals(span);
    }

    public  StrictTimeConstraint(Object key, long startTime, long endTime);
    public  StrictTimeConstraint(Object key, long startTime, long endTime, boolean negate);
    public  StrictTimeConstraint(Object key, TimeSpan span);
    public  StrictTimeConstraint(Object key, TimeSpan span, boolean negate);

}