Class TimeConstraintWrapper

java.lang.Object
eu.europa.esig.dss.policy.LevelConstraintWrapper
eu.europa.esig.dss.policy.TimeConstraintWrapper
All Implemented Interfaces:
DurationRule, LevelRule

public class TimeConstraintWrapper extends LevelConstraintWrapper implements DurationRule
Wraps eu.europa.esig.dss.policy.jaxb.TimeConstraint into a eu.europa.esig.dss.model.policy.DurationRule
  • Constructor Details

    • TimeConstraintWrapper

      public TimeConstraintWrapper(TimeConstraint constraint)
      Default constructor
      Parameters:
      constraint - TimeConstraint
  • Method Details

    • getDuration

      public long getDuration()
      Description copied from interface: DurationRule
      Gets the duration period in milliseconds
      Specified by:
      getDuration in interface DurationRule
      Returns:
      duration period in milliseconds