|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Duration | |
---|---|
biweekly.component | |
biweekly.property | |
biweekly.util |
Uses of Duration in biweekly.component |
---|
Methods in biweekly.component with parameters of type Duration | |
---|---|
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. |
Uses of Duration in biweekly.property |
---|
Methods in biweekly.property that return Duration | |
---|---|
Duration |
Trigger.getDuration()
Gets the relative time at which the alarm will trigger. |
Methods in biweekly.property with parameters of type Duration | |
---|---|
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. |
Constructors in biweekly.property with parameters of type Duration | |
---|---|
DurationProperty(Duration duration)
Creates a duration property. |
|
Trigger(Duration duration,
Related related)
Creates a trigger property. |
Uses of Duration in biweekly.util |
---|
Methods in biweekly.util that return Duration | |
---|---|
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. |
Constructors in biweekly.util with parameters of type Duration | |
---|---|
Duration.Builder(Duration source)
Creates a new Duration builder. |
|
Period(Date startDate,
Duration duration)
Creates a new time period. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |