public class ICalDate extends Date
Constructor and Description |
---|
ICalDate()
Creates a new date-time value set to the current date and time.
|
ICalDate(boolean hasTime)
Creates a new date-time value set to the current date or time.
|
ICalDate(Date date)
Creates a new date-time value (includes the time component).
|
ICalDate(Date date,
boolean hasTime)
Creates a new date-time value.
|
ICalDate(Date date,
DateTimeComponents rawComponents,
boolean hasTime)
Creates a new date-time value.
|
ICalDate(DateTimeComponents date,
boolean hasTime)
Creates a new date-time value.
|
ICalDate(ICalDate date)
Copies another iCal date-time value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DateTimeComponents |
getRawComponents()
Gets the raw date-time components of the value as read from the input
stream.
|
boolean |
hasTime()
Gets whether the value contains a time component.
|
after, before, clone, compareTo, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, toString, UTC
public ICalDate()
public ICalDate(boolean hasTime)
hasTime
- true to include the time component, false not topublic ICalDate(Date date)
date
- the date-time valuepublic ICalDate(Date date, boolean hasTime)
date
- the date-time valuehasTime
- true to include the time component, false not topublic ICalDate(DateTimeComponents date, boolean hasTime)
date
- the date-time value componentshasTime
- true to include the time component, false not topublic ICalDate(ICalDate date)
date
- the date-time valuepublic ICalDate(Date date, DateTimeComponents rawComponents, boolean hasTime)
date
- the date-time valuerawComponents
- the raw date-time value as parsed from the input
streamhasTime
- true if the date-time value has a time component, false if
notpublic DateTimeComponents getRawComponents()
public boolean hasTime()
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.