Package org.bedework.eventreg.db
Class Event
java.lang.Object
org.bedework.eventreg.db.Event
- All Implemented Interfaces:
Comparable<Event>
- Author:
- douglm
-
Constructor Details
-
Event
public Event(ietf.params.xml.ns.icalendar_2.BaseComponentType comp, String href, org.bedework.util.calendar.XcalUtil.TzGetter tzs) - Parameters:
comp- componenthref- of eventtzs- for timezones
-
-
Method Details
-
getHref
- Returns:
- the href
-
getUid
- Returns:
- the uid
- Throws:
Throwable
-
getRecurrenceId
- Returns:
- recurrence id or null
- Throws:
Throwable- on fatal error
-
getWaitListLimit
- Returns:
- wait list limit as String - either an integer absolute limit or a percentage
-
getMaxTicketsPerUser
public int getMaxTicketsPerUser()- Returns:
- max number of tickets per user
-
getMaxTickets
public int getMaxTickets()- Returns:
- max tickets for the whole event?
-
getRegistrationEnd
- Returns:
- the end of registration
- Throws:
Throwable- on fatal error
-
getRegistrationEndTzid
- Returns:
- the tzid for the end of registration
- Throws:
Throwable- on fatal error
-
getRegistrationStart
- Returns:
- the start of registration
- Throws:
Throwable
-
getRegistrationStartTzid
- Returns:
- the tzid for the start of registration
- Throws:
Throwable
-
getLocation
- Returns:
- the location
-
getSummary
- Returns:
- summary for event
-
getStatus
- Returns:
- status of event
-
getDtStartProp
- Returns:
- recurrence id or null
- Throws:
Throwable
-
getDate
- Returns:
- date part
- Throws:
Throwable
-
getDateTime
- Returns:
- date or date - time with possible tzid
- Throws:
Throwable
-
getTime
- Returns:
- time part
- Throws:
Throwable
-
getTzid
- Returns:
- tzid
- Throws:
Throwable
-
getUtc
- Returns:
- utc form of time
- Throws:
Throwable
-
getDate
- Parameters:
dt- - YYYY-MM-DD or YYYY-MM-DDThh:mm:ss[Z]tz- - null for floating or UTC- Returns:
- Date
- Throws:
Throwable
-
getRegistrationEndDate
- Returns:
- Date
- Throws:
Throwable
-
getRegistrationStartDate
- Returns:
- Date
- Throws:
Throwable
-
compareTo
- Specified by:
compareToin interfaceComparable<Event>
-
hashCode
public int hashCode() -
equals
-