org.onebusaway.transit_data.model.service_alerts
Class TimeRangeBean

java.lang.Object
  extended by org.onebusaway.transit_data.model.service_alerts.TimeRangeBean
All Implemented Interfaces:
Serializable

public class TimeRangeBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
TimeRangeBean()
           
TimeRangeBean(long from, long to)
           
 
Method Summary
 long getFrom()
           
 long getTo()
           
 void setFrom(long from)
           
 void setTo(long to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeRangeBean

public TimeRangeBean()

TimeRangeBean

public TimeRangeBean(long from,
                     long to)
Method Detail

getFrom

public long getFrom()
Returns:
the from time, or zero if not set

setFrom

public void setFrom(long from)

getTo

public long getTo()
Returns:
the to time, or zero if not set

setTo

public void setTo(long to)


Copyright © 2011 OneBusAway. All Rights Reserved.