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 December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae