Time

public final class Time extends UpdateEventRequest.When

Class representation of a specific point in time. A meeting at 2pm would be represented as a time subobject.

Constructors

Link copied to clipboard
public UpdateEventRequest.When.Time UpdateEventRequest.When.Time(@Json(name = "time") Integer time, @Json(name = "timezone") String timezone)

Types

Link copied to clipboard
public final class Builder

Builder for Time.

Properties

Link copied to clipboard
private final Integer time

A UNIX timestamp representing the time of occurrence.

Link copied to clipboard
private final String timezone

If timezone is present, then the value for time will be read with timezone. Timezone using IANA formatted string. (e.g. "America/New_York")

Functions

Link copied to clipboard
public final Integer getTime()

A UNIX timestamp representing the time of occurrence.

Link copied to clipboard
public final String getTimezone()

If timezone is present, then the value for time will be read with timezone. Timezone using IANA formatted string. (e.g. "America/New_York")