com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class Calendar



  • public class Calendar
    extends BaseDataObject

    A set of metadata, such as a description, for a single calendar.

    • Constructor Detail

      • Calendar

        public Calendar()

        Initializes a new instance of the Calendar class.

      • Calendar

        public Calendar(String summary)

        Initializes a new instance of the Calendar class.

        Parameters:
        summary - Title of the calendar.
      • Calendar

        public Calendar(String id,
                String summary)

        Initializes a new instance of the Calendar class.

        Parameters:
        id - Identifier of the resource.
        summary - Title of the calendar.
      • Calendar

        public Calendar(String summary,
                String description,
                String location,
                String timeZone)

        Initializes a new instance of the Calendar class.

        Parameters:
        summary - Title of the calendar.
        description - Description of the calendar.
        location - Geographic location of the calendar as free-form text.
        timeZone - The time zone of the calendar.
      • Calendar

        public Calendar(String id,
                String summary,
                String description,
                String location,
                String timeZone)

        Initializes a new instance of the Calendar class.

        Parameters:
        id - Identifier of the resource.
        summary - Title of the calendar.
        description - Description of the calendar.
        location - Geographic location of the calendar as free-form text.
        timeZone - The time zone of the calendar.
      • Calendar

        public Calendar(String id,
                String eTag,
                String summary,
                String description,
                String location,
                String timeZone)

        Initializes a new instance of the Calendar class.

        Parameters:
        id - Identifier of the resource.
        eTag - An entity tag
        summary - Title of the calendar.
        description - Description of the calendar.
        location - Geographic location of the calendar as free-form text.
        timeZone - The time zone of the calendar.
    • Method Detail

      • getSummary

        public String getSummary()

        Title of the calendar.

      • setSummary

        public void setSummary(String value)

        Title of the calendar.

      • getDescription

        public String getDescription()

        Description of the calendar.

      • setDescription

        public void setDescription(String value)

        Description of the calendar.

      • getLocation

        public String getLocation()

        Geographic location of the calendar as free-form text.

      • setLocation

        public void setLocation(String value)

        Geographic location of the calendar as free-form text.

      • getTimeZone

        public String getTimeZone()

        The time zone of the calendar.

      • setTimeZone

        public void setTimeZone(String value)

        The time zone of the calendar.

      • toString

        public String toString()

        Returns a string which represents the object instance.

        Overrides:
        toString in class Object
        Returns:
        Returns a string which represents the object instance.