Package com.walkfares.calendar
Class CalendarFactory
java.lang.Object
com.walkfares.calendar.CalendarFactory
public class CalendarFactory extends Object
-
Constructor Summary
Constructors Constructor Description CalendarFactory()
-
Method Summary
Modifier and Type Method Description static void
add(Calendar cal)
static void
addFromJSON(String json)
static Calendar
getCalendarFromCode(String code)
static List<Calendar>
getCalendars()
static long
getMinimumIntervalDuration()
static void
reset()
static com.google.gson.JsonElement
serialize(Calendar calendar)
static void
setMinimumIntervalDuration(long minimumIntervalDuration)
-
Constructor Details
-
CalendarFactory
public CalendarFactory()
-
-
Method Details
-
reset
public static void reset() -
getCalendarFromCode
-
getCalendars
-
add
-
addFromJSON
-
serialize
-
getMinimumIntervalDuration
public static long getMinimumIntervalDuration() -
setMinimumIntervalDuration
public static void setMinimumIntervalDuration(long minimumIntervalDuration)
-