Package net.fortuna.ical4j.model
Class ZoneOffsetAdapter
- java.lang.Object
-
- net.fortuna.ical4j.model.ZoneOffsetAdapter
-
- All Implemented Interfaces:
Serializable
public class ZoneOffsetAdapter extends Object implements Serializable
Support adapter forZoneOffset
to output in iCalendar format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZoneOffsetAdapter(ZoneOffset offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZoneOffset
from(UtcOffset utcOffset)
ZoneOffset
getOffset()
String
toString()
-
-
-
Constructor Detail
-
ZoneOffsetAdapter
public ZoneOffsetAdapter(ZoneOffset offset)
-
-
Method Detail
-
getOffset
public ZoneOffset getOffset()
-
from
public static ZoneOffset from(UtcOffset utcOffset)
- Parameters:
utcOffset
-- Returns:
- a zoneoffset representing the specified utcoffset
-
-