Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.api.time.Calendar;
 
 public class CalendarAdapter implements org.drools.time.Calendar {
 
     private final Calendar delegate;
 
     public CalendarAdapter(Calendar delegate) {
        this. = delegate;
    }
    public boolean isTimeIncluded(long timestamp) {
        return .isTimeIncluded(timestamp);
    }
    public Calendar getDelegate() {
        return ;
    }
    @Override
    public int hashCode() {
        return .hashCode();
    }
    @Override
    public boolean equals(Object obj) {
        return obj instanceof CalendarAdapter && .equals(((CalendarAdapter)obj).);
    }
New to GrepCode? Check out our FAQ X