Calendar

Inheritance: java.lang.Object, com.aspose.email.BaseDataObject

public class Calendar extends BaseDataObject

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

Constructors

ConstructorDescription
Calendar()Initializes a new instance of the Calendar class.
Calendar(String summary)Initializes a new instance of the Calendar class.
Calendar(String id, String summary)Initializes a new instance of the Calendar class.
Calendar(String summary, String description, String location, String timeZone)Initializes a new instance of the Calendar class.
Calendar(String id, String summary, String description, String location, String timeZone)Initializes a new instance of the Calendar class.
Calendar(String id, String eTag, String summary, String description, String location, String timeZone)Initializes a new instance of the Calendar class.

Fields

FieldDescription
CALENDAR_KINDType of the resource ‘calendar#calendar’.

Methods

MethodDescription
equals(Object arg0)
getClass()
getConferenceProperties()Gets conferencing properties for this calendar.
getDescription()Description of the calendar.
getETag()An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests.
getId()Identifier of the resource.
getKind()Type of the resource
getLocation()Geographic location of the calendar as free-form text.
getSummary()Title of the calendar.
getTimeZone()The time zone of the calendar.
hashCode()
notify()
notifyAll()
setDescription(String value)Description of the calendar.
setETag(String value)An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests.
setId(String value)Identifier of the resource.
setLocation(String value)Geographic location of the calendar as free-form text.
setSummary(String value)Title of the calendar.
setTimeZone(String value)The time zone of the calendar.
toString()Returns a string which represents the object instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

Calendar()

public Calendar()

Initializes a new instance of the Calendar class.

Calendar(String summary)

public Calendar(String summary)

Initializes a new instance of the Calendar class.

Parameters:

ParameterTypeDescription
summaryjava.lang.StringTitle of the calendar.

Calendar(String id, String summary)

public Calendar(String id, String summary)

Initializes a new instance of the Calendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
summaryjava.lang.StringTitle of the calendar.

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

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

Initializes a new instance of the Calendar class.

Parameters:

ParameterTypeDescription
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.

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

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

Initializes a new instance of the Calendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.

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

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

Initializes a new instance of the Calendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
eTagjava.lang.StringAn entity tag
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.

CALENDAR_KIND

public static final String CALENDAR_KIND

Type of the resource ‘calendar#calendar’.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getConferenceProperties()

public ConferenceProperties getConferenceProperties()

Gets conferencing properties for this calendar.

Returns: ConferenceProperties

getDescription()

public String getDescription()

Description of the calendar.

Returns: java.lang.String

getETag()

public String getETag()

An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.

Returns: java.lang.String

getId()

public String getId()

Identifier of the resource.

Returns: java.lang.String

getKind()

public String getKind()

Type of the resource

Returns: java.lang.String

getLocation()

public String getLocation()

Geographic location of the calendar as free-form text.

Returns: java.lang.String

getSummary()

public String getSummary()

Title of the calendar.

Returns: java.lang.String

getTimeZone()

public String getTimeZone()

The time zone of the calendar.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDescription(String value)

public void setDescription(String value)

Description of the calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setETag(String value)

public void setETag(String value)

An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setId(String value)

public void setId(String value)

Identifier of the resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLocation(String value)

public void setLocation(String value)

Geographic location of the calendar as free-form text.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setSummary(String value)

public void setSummary(String value)

Title of the calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setTimeZone(String value)

public void setTimeZone(String value)

The time zone of the calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns a string which represents the object instance.

Returns: java.lang.String - Returns a string which represents the object instance.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int