Fixed comment. No functional changes.
Added oneDigitFormat() so can output speed and heading easily without
including units.
Added dateTimeStrMsecForTimezone() so can output time string for
specific timezone.
Fixed comment. No functional changes.
Fixed comment. No functional changes.
Moved gtfs.writers.GtfsWriterBase to utils.csv.CsvWriterBase so that it
can be used for writing other types of CSV files besides GTFS ones.
Initial checkin.
Added timeStrForTimezone() so can output just the time portion of a
date/time.
Changed to work for maps in China by allowing the lats/lons to be offset
appropriately. Also now storing simpleTime which is just the time
without the date. This is nice for plotting data using a tool such
google map engine.
Added ability to offset map data for China.
Fixed comment. No functional changes.
Fixed toString() so that label for the name element is really name
instead of dirName.
Had incorrect logic for when configuring ia command line option whether
or not should actually store data into db.
Added getRouteId() so can assign vehicle using only route ID assignment.
Added routeIds member to Block so that can easily determine which blocks
are associated with a route without having to load in all the trip data
from the db. Knowing which blocks are associated with a route is needed
for assigning vehicles by route ID. Don't want to get the route ID from
the trip data because then thousands of trips have to be loaded from db
at startup, which can take a long time and be especially problematic
when debugging.
Took out storing the CSVRecord as a member. Also, changed to use
intern() for the filename when storing it as a member. Together this
greatly reduced the amount of memory used when reading in GTFS data,
greatly speeding up the process and preventing running of memory.