Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.api.runtime.Calendars;
 
 public class CalendarsAdapter implements org.drools.runtime.Calendars {
 
     private final Calendars delegate;
 
    public CalendarsAdapter(Calendars delegate) {
        this. = delegate;
    }
    public Calendar get(String identifier) {
        return new CalendarAdapter(.get(identifier));
    }
    @Override
    public void set(String identifierCalendar value) {
        .set(identifier, ((CalendarAdapter)value).getDelegate());
    }
New to GrepCode? Check out our FAQ X