|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.export.ical.ical4j.ICal4JDateCodec
public class ICal4JDateCodec
A decoder/encoder of iCal4J dates with Silverpeas dates.
Constructor Summary | |
---|---|
ICal4JDateCodec()
|
Method Summary | |
---|---|
static ICal4JDateCodec |
anICal4JDateCodec()
Gets an instance of the ICal4JDateCodec class. |
net.fortuna.ical4j.model.Date |
encode(Datable<?> aDate)
Encodes a Silverpeas date into an iCal4J date. |
net.fortuna.ical4j.model.Date |
encode(Datable<?> aDate,
boolean inUTC)
Encodes the specified Silverpeas date into an iCal4J date set or not in UTC according to the specified UTC flag. |
net.fortuna.ical4j.model.Date |
encodeInUTC(Datable<?> aDate)
Encodes the specified Silverpeas date into an iCal4J date set in UTC. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ICal4JDateCodec()
Method Detail |
---|
public static ICal4JDateCodec anICal4JDateCodec()
public net.fortuna.ical4j.model.Date encode(Datable<?> aDate) throws EncodingException
aDate
- the date to encode.
EncodingException
- if the encoding fails.public net.fortuna.ical4j.model.Date encodeInUTC(Datable<?> aDate) throws EncodingException
aDate
- the date to encode.
EncodingException
- if the encoding fails.public net.fortuna.ical4j.model.Date encode(Datable<?> aDate, boolean inUTC) throws EncodingException
aDate
- the date to encode.inUTC
- the UTC flag indicating whether the iCal4J date must be set in UTC. If false, the
encoded date will be in the same timezone than the specified date.
EncodingException
- if the encoding fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |