Class TimestampData

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

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

    • EPOCH

      public static final Timestamp EPOCH
  • Constructor Details

    • TimestampData

      public TimestampData()
  • Method Details

    • getPrecision

      public int getPrecision()
      Returns:
      the precision
    • setPrecision

      public void setPrecision(int precision)
      Parameters:
      precision - the precision to set
    • 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
    • getMinHour

      public int getMinHour()
      Returns:
      the minimum hour
    • setMinHour

      public void setMinHour(int min)
      Parameters:
      min - the minimum hour to set
    • getMaxHour

      public int getMaxHour()
      Returns:
      the maximum hour
    • setMaxHour

      public void setMaxHour(int max)
      Parameters:
      max - the maximum hour to set
    • getStepHour

      public int getStepHour()
      Returns:
      the step hour
    • setStepHour

      public void setStepHour(int step)
      Parameters:
      step - the step hour to set
    • getMinMinute

      public int getMinMinute()
      Returns:
      the min minute
    • setMinMinute

      public void setMinMinute(int min)
      Parameters:
      min - the min minute to set
    • getMaxMinute

      public int getMaxMinute()
      Returns:
      the max minute
    • setMaxMinute

      public void setMaxMinute(int max)
      Parameters:
      max - the max minute to set
    • getStepMinute

      public int getStepMinute()
      Returns:
      the step minute
    • setStepMinute

      public void setStepMinute(int step)
      Parameters:
      step - the step minute to set
    • getMinSecond

      public int getMinSecond()
      Returns:
      the min second
    • setMinSecond

      public void setMinSecond(int min)
      Parameters:
      min - the min second to set
    • getMaxSecond

      public int getMaxSecond()
      Returns:
      the max second
    • setMaxSecond

      public void setMaxSecond(int max)
      Parameters:
      max - the max second to set
    • getStepSecond

      public int getStepSecond()
      Returns:
      the step second
    • setStepSecond

      public void setStepSecond(int step)
      Parameters:
      step - the step second to set