biweekly.property
Class DateDue
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.DateOrDateTimeProperty
biweekly.property.DateDue
public class DateDue
- extends DateOrDateTimeProperty
Defines the date that a to-do task is due by.
Examples:
//date and time
Date datetime = ...
DateDue due = new DateDue(datetime);
//date
Date date = ...
DateDue due = new DateDue(date, false);
//with timezone
Date datetime = ...
DateDue due = new DateDue(datetime);
due.setTimezoneId("America/New_York");
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.96-7
Constructor Summary |
DateDue(Date dueDate)
Creates a due date property. |
DateDue(Date dueDate,
boolean hasTime)
Creates a due date property. |
Methods inherited from class biweekly.property.DateOrDateTimeProperty |
getRawComponents, getTimezoneId, getValue, hasTime, isLocalTime, setLocalTime, setRawComponents, setTimezone, setTimezoneId, setValue, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateDue
public DateDue(Date dueDate)
- Creates a due date property.
- Parameters:
dueDate
- the due date
DateDue
public DateDue(Date dueDate,
boolean hasTime)
- Creates a due date property.
- Parameters:
dueDate
- the due datehasTime
- true to include the time component of the date, false not
to
Copyright © 2013 Michael Angstadt. All Rights Reserved.