net.sf.borg.ui.calendar
Class AppointmentTextFormat

java.lang.Object
  extended by net.sf.borg.ui.calendar.AppointmentTextFormat

public class AppointmentTextFormat
extends Object

common code to format an appointment's text for display on the UI


Constructor Summary
AppointmentTextFormat()
           
 
Method Summary
static String format(Appointment appt, Date date)
          generate the appointment string for display of an appointment on a given day.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppointmentTextFormat

public AppointmentTextFormat()
Method Detail

format

public static String format(Appointment appt,
                            Date date)
generate the appointment string for display of an appointment on a given day. Optionally prepend things like time of day, repeat number, vacation day number...

Parameters:
appt - - the appointment
date - - the date that the appt is being displayed for or null. The date is used to identify an instance of a repeating appt
Returns:
the formatted appt string to display


Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic