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

      • 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.
      • getFromTime

        public final Date getFromTime()

        Gets the beginning of a working time.

        Returns:
        the beginning of a working time.
      • setFromTime

        public final void setFromTime(Date value)

        Sets the beginning of a working time.

        Parameters:
        value - the beginning of a working time.
      • getToTime

        public final Date getToTime()

        Gets the end of a working time.

        Returns:
        the end of a working time.
      • setToTime

        public final void setToTime(Date value)

        Sets the end of a working time.

        Parameters:
        value - the end of a working time.
      • hashCode

        public int hashCode()

        Returns a hash code value for the instance of the WorkingTime class.

        Overrides:
        hashCode in class Object
        Returns:
        returns a hash code value for this object.