Class DateData

All Implemented Interfaces:
Wrappable, AnnotatableArtifact, Artifact, BoundedArtifact, CalculableProperty, DataArtifact, Expression, IntervalizedArtifact, Nullable, Parameter, Property, TemporalExpression, TypedArtifact, ValuedArtifact, Serializable
Direct Known Subclasses:
DateParameter, DateProperty

public class DateData extends TemporalPrimitive
Author:
Jorge Campins
See Also:
  • Field Details

    • EPOCH

      public static final Date EPOCH
  • Constructor Details

    • DateData

      public DateData()
  • Method Details

    • isDisabledWeekends

      public boolean isDisabledWeekends()
      Returns:
      the disabled weekends indicator
    • setDisabledWeekends

      public void setDisabledWeekends(boolean disabled)
      Parameters:
      disabled - the disabled weekends indicator to set
    • isDisabledWeekdays

      public boolean isDisabledWeekdays()
      Returns:
      the disabled weekdays indicator
    • setDisabledWeekdays

      public void setDisabledWeekdays(boolean disabled)
      Parameters:
      disabled - the disabled weekdays indicator to set
    • isDisabledHolidays

      public boolean isDisabledHolidays()
      Returns:
      the disabled holidays indicator
    • setDisabledHolidays

      public void setDisabledHolidays(boolean disabled)
      Parameters:
      disabled - the disabled holidays indicator to set
    • getYearRange

      public int getYearRange()
      Returns:
      the year range
    • setYearRange

      public void setYearRange(int range)
      Parameters:
      range - the year range to set