net.sf.borg.ui.calendar
Class AppointmentTextFormat
java.lang.Object
net.sf.borg.ui.calendar.AppointmentTextFormat
public class AppointmentTextFormat
- extends Object
common code to format an appointment's text for display on the UI
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 |
AppointmentTextFormat
public AppointmentTextFormat()
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 appointmentdate
- - 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