BusTimes

BusTimes is a Java Application that reads a bus timetable from a file and then shows the next few services in a similar fashion to this, with a large clock:

It is designed for all those people that don't like waiting at bus stops, so you can leave it running and wait until your bus is due before going to the stop.

Please note that the bus times changed in mid-December 2009 and the example file for the University underpass is now out of date.

BusTimes supports:

  • Timetabling of services on individual days of the week (ie. not just Mon-Fri, Sat, Sun).
  • Recognition of late night services (break point is set to 0400).
  • Enablement of term-time/vacation-only services.
  • Configuration of the number of services shown, etc.

Installation

Make sure you have Java installed. Most systems have it. If not, head to the Sun website and get the latest Java JRE.

Download the ZIP file, and unzip all the files into a folder somewhere (ie. Program Files or My Documents). You do not need to run an installer.

Double click BusTimes.jar or (if you know how) run:

 java -jar BusTimes.jar.

On Windows and Mac, you can create a shortcut on the Taskbar or Start Menu.

Use

Should be pretty obvious...

Configuration

There is a config.txt file which can be modified to change the options. Each option is on an individual line with an option name and option value, seperated by a comma.

 termTime,true

Means it is term time.

 termTime,false

Means it is vacation time.

 count,3

Means to show the next three services.

 timer,6

Means to show the minutes remaining instead of departure time once the bus is 6 minutes away.

Timetable File Format

The timetable file is a CSV file. Each service is on one line, with each column value seperated by a comma. There are no quotes.

The first line in the file is ignored, but can be left as the headings.

The column order is as follows:

  • Time
  • Service Number
  • Destination
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday
  • Term Time
  • Vacation Time

The time column must be in HH:MM format. The columns from Monday onwards are either Y or N.

An example file is included that contains the bus times from the Lancaster University Underpass (correct at October 2009).

A spreadsheet program is a good way to automate the generation of bus times. In OpenOffice Calc it is possible to enter two bus times and then (once they are highlighted) to drag down to automatically generate subsequent times.

FAQ

Q. Does it work with train times as well?

A. Why not?

Q. How do I add a service that on one day does not run all the way to the destination?

A. Add two services.

Copyright

BusTimes

Copyright (C) 2009 Tony Chung

Software released as freeware.

Download

Download - ver 1 - ZIP - 10KB

MD5: 6d5c8b541f8f0a14c7a7b3cdabdd8f2a

< Back to Downloads.

 

Downloads/BusTimes (Last updated June 05, 2010, at 08:51 PM)

 

Valid XHTML 1.0 Strict British

Copyright Tony Chung 2004 - 2010.

Any reasonable use permitted provided credit is given, if you are not sure please get my permission first.
Notice: The views on this site are my own and do not necessarily represent those of others.

 

 

tonychung.net

 

 

WSN Node

 

Radio Modem