com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class WorkWeek



  • public class WorkWeek
    extends Object

    Represents calendar work week.

    • Constructor Detail

      • WorkWeek

        public WorkWeek(Calendar calendar)

        Initializes a new instance of the WorkWeek class.

        Parameters:
        calendar - an instance of the Calendar class.
    • Method Detail

      • getFromDate

        public Date getFromDate()

        Represents Start DateTime for WorkWeek

        Returns:
        a date from which the work weeks starts.
      • setFromDate

        public void setFromDate(Date value)

        Represents Start DateTime for WorkWeek

        Parameters:
        value - the specified date from which the work weeks starts.
      • getName

        public String getName()

        Represents Name for WorkWeek

        Returns:
        work week name.
      • setName

        public void setName(String value)

        Represents Name for WorkWeek

        Parameters:
        value - the specified work week name.
      • getParentCalendar

        public Calendar getParentCalendar()

        Returns parent Calendar for special WorkWeek Read only Calendar.

        Returns:
        an instance of the Calendar class which is a parent calendar of this work week.
      • getToDate

        public Date getToDate()

        Represent Finish DateTime for WorkWeek

        Returns:
        a date when work week ends.
      • setToDate

        public void setToDate(Date value)

        Represent Finish DateTime for WorkWeek

        Parameters:
        value - the specified date when work week ends.
      • getWeekDays

        public WeekDayCollection getWeekDays()

        Returns WeekDayCollection

        Returns:
        a collection of week days which represent calendar work week.