All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.activiti.engine.impl.calendar.AdvancedSchedulerResolverWithoutTimeZone Maven / Gradle / Ivy

The newest version!
package org.activiti.engine.impl.calendar;

import org.activiti.engine.api.internal.Internal;
import org.activiti.engine.runtime.ClockReader;

import java.util.Date;
import java.util.TimeZone;

/**
 * Resolves a due date using the original Activiti due date resolver. This does not take into account the passed time zone.
 *
 */
@Internal
public class AdvancedSchedulerResolverWithoutTimeZone implements AdvancedSchedulerResolver {

  @Override
  public Date resolve(String duedateDescription, ClockReader clockReader, TimeZone timeZone) {
    return new CycleBusinessCalendar(clockReader).resolveDuedate(duedateDescription);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy