java.lang.Object
com.timeanddate.services.dataTypes.businessdays.Period

public class Period extends Object
Author:
Daniel Alvsåker <daniel@timeanddate.com>
  • Constructor Details

    • Period

      public Period()
  • Method Details

    • getIncludedDays

      public int getIncludedDays()
      Number of days calculated.
    • getCalendarDays

      public int getCalendarDays()
      Number of calendar days in calculated period.
    • getSkippedDays

      public int getSkippedDays()
      Number of days which was skipped in the calculated period.
    • getStartDate

      public TADTime getStartDate()
      The date the calculation started from.
    • getEndDate

      public TADTime getEndDate()
      The date the calculation ended on.
    • getWeekdays

      public WeekdaysType getWeekdays()
      The spread of excluded or included weekdays in includeddays.
    • getHolidays

      public BusinessHoliday getHolidays()
      Holidays which occur in the requested period.
    • fromNode

      public static Period fromNode(Node node)