org.onebusaway.gtfs.model.calendar
Class LocalizedServiceId

java.lang.Object
  extended by org.onebusaway.gtfs.model.calendar.LocalizedServiceId
All Implemented Interfaces:
java.io.Serializable

public class LocalizedServiceId
extends java.lang.Object
implements java.io.Serializable

Combines a serviceId (represented by AgencyAndId) and a TimeZone object that can be used to ground ServiceDate objects. See ServiceDate.getAsDate(TimeZone) for more info.

Author:
bdferris
See Also:
ServiceDate, CalendarService, Serialized Form

Constructor Summary
LocalizedServiceId(AgencyAndId serviceId, java.util.TimeZone timeZone)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 AgencyAndId getId()
           
 java.util.TimeZone getTimeZone()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizedServiceId

public LocalizedServiceId(AgencyAndId serviceId,
                          java.util.TimeZone timeZone)
Method Detail

getId

public AgencyAndId getId()

getTimeZone

public java.util.TimeZone getTimeZone()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 OneBusAway. All Rights Reserved.