Oracle

com.compoze.domino
Class TimeSlot

java.lang.Object
  extended by com.compoze.domino.TimeSlot
All Implemented Interfaces:
java.io.Serializable

public class TimeSlot
extends java.lang.Object
implements java.io.Serializable

This class stores information about a single time slot in a free/busy response.

See Also:
FreeBusy, Serialized Form

Method Summary
 BusyStatus getBusyStatus()
          Gets the busy status for the time slot.
 java.util.Date getEndTime()
          Gets the end time of the time slot.
 java.util.Date getStartTime()
          Gets the start time of the time slot.
 boolean isBefore(TimeSlot timeSlot)
          Checks if the specified time slot is before this time slot.
 java.lang.String toString()
          Creates a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getStartTime

public java.util.Date getStartTime()
Gets the start time of the time slot.

Returns:
the start time

getEndTime

public java.util.Date getEndTime()
Gets the end time of the time slot.

Returns:
the end time

getBusyStatus

public BusyStatus getBusyStatus()
Gets the busy status for the time slot.

Returns:
the busy status

toString

public java.lang.String toString()
Creates a string representation of the object.

Overrides:
toString in class java.lang.Object

isBefore

public boolean isBefore(TimeSlot timeSlot)
Checks if the specified time slot is before this time slot.

Parameters:
timeSlot - the time slot to compare
Returns:
true if the specified time slot is before this time slot; false otherwise

Oracle

Copyright ©1999-2008 Oracle All rights reserved.