biweekly.property
Class DateEnd
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.DateOrDateTimeProperty
biweekly.property.DateEnd
public class DateEnd
- extends DateOrDateTimeProperty
Defines the date that an event or free/busy component ends.
Examples:
//date and time
Date datetime = ...
DateEnd dtend = new DateEnd(datetime);
//date
Date date = ...
DateEnd dtend = new DateEnd(date, false);
//with timezone
Date datetime = ...
DateEnd dtend = new DateEnd(datetime);
dtend.setTimezoneId("America/New_York");
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.95-6
Constructor Summary |
DateEnd(Date endDate)
Creates a date end property. |
DateEnd(Date endDate,
boolean hasTime)
Creates a date end 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 |
DateEnd
public DateEnd(Date endDate)
- Creates a date end property.
- Parameters:
endDate
- the end date
DateEnd
public DateEnd(Date endDate,
boolean hasTime)
- Creates a date end property.
- Parameters:
endDate
- the end datehasTime
- true to include the time component of the date, false not
to
Copyright © 2013 Michael Angstadt. All Rights Reserved.