net.sf.borg.model
Class ReminderTimes

java.lang.Object
  extended by net.sf.borg.model.ReminderTimes

public class ReminderTimes
extends Object

This class converts the appointment reminder times to and from a string in the preferences to an array of minutes values


Constructor Summary
ReminderTimes()
           
 
Method Summary
static int getNum()
          Gets the number of reminder times
static int getTimes(int i)
          Gets the value (in minutes) for reminder i
static void setTimes(int[] times)
          store the reminder times
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReminderTimes

public ReminderTimes()
Method Detail

getNum

public static int getNum()
Gets the number of reminder times

Returns:
the number of reminder times

getTimes

public static int getTimes(int i)
Gets the value (in minutes) for reminder i

Parameters:
i - the number fo the reminder to get
Returns:
the time in minutes

setTimes

public static void setTimes(int[] times)
store the reminder times

Parameters:
times - the reminder times array


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