Class CalendarPluginUtils
- java.lang.Object
-
- com.openindex.openestate.tool.calendar.CalendarPluginUtils
-
public class CalendarPluginUtils extends Object
Hilfsfunktionen.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.fortuna.ical4j.model.property.Uid
generateUid()
static net.fortuna.ical4j.model.TimeZone
getTimeZone()
static net.fortuna.ical4j.model.TimeZoneRegistry
getTimeZoneRegistry()
static net.fortuna.ical4j.util.UidGenerator
getUidGenerator()
static net.fortuna.ical4j.model.Calendar
parseCalendarComponent(String component)
static net.fortuna.ical4j.model.Calendar
parseCalendarComponents(String[] components)
static Calendar
parseTime(String time, int defaultHour, int defaultMinute)
static String
printTime(Calendar time)
static DbCalendarEntry[]
searchForDbEntries(Connection c, DbCalendarHandler calendarHandler, long[] groupIds, DbCalendarEntry.Type[] types, net.fortuna.ical4j.model.property.Status[] status, Date begin, Date end)
static VirtualCalendarEntry[]
searchForVirtualEntries(Connection c, DbCalendarHandler calendarHandler, VirtualCalendarExtension[] virtualCalendars, Date begin, Date end)
static VirtualCalendarEntry[]
searchForVirtualEntries(Connection c, DbCalendarHandler calendarHandler, VirtualCalendarExtension virtualCalendar, Date begin, Date end)
-
-
-
Method Detail
-
generateUid
public static net.fortuna.ical4j.model.property.Uid generateUid()
-
getTimeZone
public static net.fortuna.ical4j.model.TimeZone getTimeZone()
-
getTimeZoneRegistry
public static net.fortuna.ical4j.model.TimeZoneRegistry getTimeZoneRegistry()
-
getUidGenerator
public static net.fortuna.ical4j.util.UidGenerator getUidGenerator()
-
parseCalendarComponent
public static net.fortuna.ical4j.model.Calendar parseCalendarComponent(String component) throws IOException, net.fortuna.ical4j.data.ParserException
- Throws:
IOException
net.fortuna.ical4j.data.ParserException
-
parseCalendarComponents
public static net.fortuna.ical4j.model.Calendar parseCalendarComponents(String[] components) throws IOException, net.fortuna.ical4j.data.ParserException
- Throws:
IOException
net.fortuna.ical4j.data.ParserException
-
searchForDbEntries
public static DbCalendarEntry[] searchForDbEntries(Connection c, DbCalendarHandler calendarHandler, long[] groupIds, DbCalendarEntry.Type[] types, net.fortuna.ical4j.model.property.Status[] status, Date begin, Date end) throws SQLException
- Throws:
SQLException
-
searchForVirtualEntries
public static VirtualCalendarEntry[] searchForVirtualEntries(Connection c, DbCalendarHandler calendarHandler, VirtualCalendarExtension virtualCalendar, Date begin, Date end) throws IOException, SQLException
- Throws:
IOException
SQLException
-
searchForVirtualEntries
public static VirtualCalendarEntry[] searchForVirtualEntries(Connection c, DbCalendarHandler calendarHandler, VirtualCalendarExtension[] virtualCalendars, Date begin, Date end) throws IOException, SQLException
- Throws:
IOException
SQLException
-
-