All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.calendar.model.EventDateTime.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241101-2.0.0
Show newest version






EventDateTime (Calendar API v3-rev20240927-2.0.0)












com.google.api.services.calendar.model

Class EventDateTime

    • Constructor Detail

      • EventDateTime

        public EventDateTime()
    • Method Detail

      • getDate

        public com.google.api.client.util.DateTime getDate()
        The date, in the format "yyyy-mm-dd", if this is an all-day event.
        Returns:
        value or null for none
      • setDate

        public EventDateTime setDate(com.google.api.client.util.DateTime date)
        The date, in the format "yyyy-mm-dd", if this is an all-day event.
        Parameters:
        date - date or null for none
      • getDateTime

        public com.google.api.client.util.DateTime getDateTime()
        The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
        Returns:
        value or null for none
      • setDateTime

        public EventDateTime setDateTime(com.google.api.client.util.DateTime dateTime)
        The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
        Parameters:
        dateTime - dateTime or null for none
      • getTimeZone

        public String getTimeZone()
        The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
        Returns:
        value or null for none
      • setTimeZone

        public EventDateTime setTimeZone(String timeZone)
        The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.
        Parameters:
        timeZone - timeZone or null for none
      • set

        public EventDateTime set(String fieldName,
                                 Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public EventDateTime clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy