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

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

There is a newer version: 3.0.Beta
Show 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