com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class DateRange



  • public final class DateRange
    extends Object

    Represents the date range

    • Constructor Detail

      • DateRange

        public DateRange(Date startTime,
                 Date endTime)

        Initializes a new instance of the DateRange class

        Parameters:
        startTime - Specifies the start of a time period.
        endTime - Specifies the end of a time period.
      • DateRange

        public DateRange()

        Initializes a new instance of the DateRange class

    • Method Detail

      • getStartTime

        public Date getStartTime()

        Gets or sets the start of a time period.

        Returns:
        A start of a time period.
      • setStartTime

        public void setStartTime(Date value)

        Gets or sets the start of a time period.

        Parameters:
        value - A start of a time period.
      • getEndTime

        public Date getEndTime()

        Gets or sets the end of a time period.

        Returns:
        An end of a time period
      • setEndTime

        public void setEndTime(Date value)

        Gets or sets the end of a time period.

        Parameters:
        value - An end of a time period.