Class LocalizedServiceId
- java.lang.Object
-
- org.onebusaway.gtfs.model.calendar.LocalizedServiceId
-
- All Implemented Interfaces:
Serializable,Comparable<LocalizedServiceId>
public class LocalizedServiceId extends Object implements Serializable, Comparable<LocalizedServiceId>
Combines a serviceId (represented byAgencyAndId) and aTimeZoneobject that can be used to groundServiceDateobjects. SeeServiceDate.getAsDate(TimeZone)for more info.- Author:
- bdferris
- See Also:
ServiceDate,CalendarService, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalizedServiceId(AgencyAndId serviceId, TimeZone timeZone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(LocalizedServiceId o)booleanequals(Object obj)AgencyAndIdgetId()TimeZonegetTimeZone()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
LocalizedServiceId
public LocalizedServiceId(AgencyAndId serviceId, TimeZone timeZone)
-
-
Method Detail
-
getId
public AgencyAndId getId()
-
getTimeZone
public TimeZone getTimeZone()
-
compareTo
public int compareTo(LocalizedServiceId o)
- Specified by:
compareToin interfaceComparable<LocalizedServiceId>
-
-