com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class WorkWeek



  • public class WorkWeek
    extends Object

    Represent WorkWeek class

    • Constructor Detail

      • WorkWeek

        public WorkWeek(Calendar calendar)

        Initializes a new instance of the WorkWeek class

        Parameters:
        calendar - Aspose.Tasks.Calendar
    • Method Detail

      • getFromDate

        public final Date getFromDate()

        Gets start DateTime of work week

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

        public final void setFromDate(Date value)

        Gets start DateTime of work week

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

        public final String getName()

        Gets Name of work week

        Returns:
        work week name.
      • setName

        public final void setName(String value)

        Gets Name of work week

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

        public final Calendar getParentCalendar()

        Gets 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 final Date getToDate()

        Gets Finish Date of work week

        Returns:
        a date when work week ends.
      • setToDate

        public final void setToDate(Date value)

        Sets Finish Date of work week

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

        public final WeekDayCollection getWeekDays()

        Gets WeekDayCollection

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