XPUSP - Home

br.usp.ime.xpusp.applet
Class ScheduleApplet.Period

java.lang.Object
  |
  +--br.usp.ime.xpusp.applet.ScheduleApplet.Period
Enclosing class:
ScheduleApplet

public static class ScheduleApplet.Period
extends java.lang.Object

Inner class used to model a time period


Field Summary
(package private)  java.util.Date end
           
(package private)  java.text.SimpleDateFormat sdf
           
(package private)  java.util.Date start
           
 
Constructor Summary
ScheduleApplet.Period(java.util.Date start, java.util.Date end)
           
 
Method Summary
 java.util.Date getEnd()
          Get the value of end.
 java.util.Date getStart()
          Get the value of start.
 void setEnd(java.util.Date v)
          Set the value of end.
 void setStart(java.util.Date v)
          Set the value of start.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

start

java.util.Date start

end

java.util.Date end

sdf

java.text.SimpleDateFormat sdf
Constructor Detail

ScheduleApplet.Period

public ScheduleApplet.Period(java.util.Date start,
                             java.util.Date end)
Method Detail

getEnd

public java.util.Date getEnd()
Get the value of end.
Returns:
value of end.

setEnd

public void setEnd(java.util.Date v)
Set the value of end.
Parameters:
v - Value to assign to end.

getStart

public java.util.Date getStart()
Get the value of start.
Returns:
value of start.

setStart

public void setStart(java.util.Date v)
Set the value of start.
Parameters:
v - Value to assign to start.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

XPUSP - Home