Package | Description |
---|---|
biweekly.component | |
biweekly.property | |
biweekly.util |
Modifier and Type | Method and Description |
---|---|
FreeBusy |
VFreeBusy.addFreeBusy(FreeBusyType type,
Date start,
Duration duration)
Adds a single time period for which the person is free or busy (for
example, "free" for 2 hours after 1pm).
|
DurationProperty |
VTodo.setDuration(Duration duration)
Sets the duration of the to-do.
|
DurationProperty |
VEvent.setDuration(Duration duration)
Sets the duration of the event.
|
DurationProperty |
VAlarm.setDuration(Duration duration)
Sets the length of the pause between alarm repetitions.
|
void |
VAlarm.setRepeat(int count,
Duration pauseDuration)
Sets the repetition information for the alarm.
|
Modifier and Type | Field and Description |
---|---|
protected Duration |
VCalAlarmProperty.snooze |
Modifier and Type | Method and Description |
---|---|
Duration |
Trigger.getDuration()
Gets the relative time at which the alarm will trigger.
|
Duration |
VCalAlarmProperty.getSnooze() |
Modifier and Type | Method and Description |
---|---|
void |
FreeBusy.addValue(Date start,
Duration duration)
Adds a time period.
|
void |
Trigger.setDuration(Duration duration,
Related related)
Sets a relative time at which the alarm will trigger.
|
void |
VCalAlarmProperty.setSnooze(Duration snooze) |
Constructor and Description |
---|
DurationProperty(Duration duration)
Creates a duration property.
|
Trigger(Duration duration,
Related related)
Creates a trigger property.
|
Modifier and Type | Method and Description |
---|---|
Duration |
Duration.Builder.build()
Builds the final
Duration object. |
static Duration |
Duration.diff(Date start,
Date end)
Builds a duration based on the difference between two dates.
|
static Duration |
Duration.fromMillis(long milliseconds)
Builds a duration from a number of milliseconds.
|
Duration |
Period.getDuration()
Gets the length of time after the start date.
|
static Duration |
Duration.parse(String value)
Parses a duration string.
|
Constructor and Description |
---|
Duration.Builder(Duration source)
Creates a new
Duration builder. |
Period(Date startDate,
Duration duration)
Creates a new time period.
|
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.