com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class WorkingTime



  • public class WorkingTime
    extends Object

    Represents a working time during a weekday.

    • Constructor Detail

      • WorkingTime

        public WorkingTime()
    • Method Detail

      • getFromTime

        public Date getFromTime()
        Returns the beginning of a working time.
        Returns:
        the beginning of a working time (Date).
      • setFromTime

        public void setFromTime(Date value)
        Sets the beginning of a working time.
        Parameters:
        value - the beginning of a working time (Date).
      • getToTime

        public Date getToTime()
        Returns the end of a working time.
        Returns:
        the end of a working time (Date).
      • setToTime

        public void setToTime(Date value)
        Sets the end of a working time.
        Parameters:
        value - the end of a working time (Date).
      • equals

        public boolean equals(Object obj)

        Checks that the objects are equal.

        Overrides:
        equals in class Object
        Parameters:
        obj - Second object to compare.
        Returns:
        True if the objects are equal, false otherwise.
      • hashCode

        public int hashCode()
        Returns a hash code for this WorkingTime.
        Overrides:
        hashCode in class Object
        Returns:
        Returns a hash code value for this object.