public class ReminderTrigger extends Object
Constructor and Description |
---|
ReminderTrigger() |
ReminderTrigger(Date dateTime,
Long duration,
String related)
Initializes a new instance of the ReminderTrigger
|
Modifier and Type | Method and Description |
---|---|
ReminderTrigger |
dateTime(Date dateTime)
Set dateTime and return this.
|
ReminderTrigger |
duration(Long duration)
Set duration and return this.
|
boolean |
equals(Object o) |
Date |
getDateTime()
A trigger set to an absolute date/time.
|
Long |
getDuration()
Specifies a relative time in ticks for the trigger of the alarm.
|
String |
getRelated()
Specify the relationship of the alarm trigger with respect to the start or end of the event.
|
int |
hashCode() |
ReminderTrigger |
related(String related)
Set related and return this.
|
void |
setDateTime(Date dateTime)
Set dateTime.
|
void |
setDuration(Long duration)
Set duration.
|
void |
setRelated(String related)
Set related.
|
String |
toString() |
public ReminderTrigger()
public ReminderTrigger(Date dateTime, Long duration, String related)
dateTime
- A trigger set to an absolute date/time.duration
- Specifies a relative time in ticks for the trigger of the alarm.related
- Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, Endpublic ReminderTrigger dateTime(Date dateTime)
dateTime
- A trigger set to an absolute date/time.public Date getDateTime()
public void setDateTime(Date dateTime)
dateTime
- A trigger set to an absolute date/time.public ReminderTrigger duration(Long duration)
duration
- Specifies a relative time in ticks for the trigger of the alarm.public Long getDuration()
public void setDuration(Long duration)
duration
- Specifies a relative time in ticks for the trigger of the alarm.public ReminderTrigger related(String related)
related
- Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, Endpublic String getRelated()
public void setRelated(String related)
related
- Specify the relationship of the alarm trigger with respect to the start or end of the event. Enum, available values: Start, EndCopyright © 2020. All rights reserved.