|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjec.dto.UserAvailabilityData
public class UserAvailabilityData
Title: UserAvailabilityData
Description: Class to hold user availability information, the information is presented
as a String that holds numbers, every number represent the State (FREE, BUSY), and the number place
in the String represent the time location in the time section (form StartDate to EndDate) selected
according to the interval selected.
Here is an example for such String:
000000000000000000000000002200220000000000
The start time is: 2007-07-22 00:00:00
The end time is : 2007-07-22 21:00:00
The interval is : 30mins
So every number represent 30mins a time section of 21 hours starting at 2007-07-22 00:00:00 and ending
at 2007-07-22 21:00:00 so accourding to the availability String, the user was busy from 13:00 till
14:00 and from 15:00 till 16:00 and at the rest of the time he was free.
Copyright: Copyright (c) 2006
Company: NetComps
Field Summary | |
---|---|
static int |
BUSY
|
static int |
FREE
|
static int |
NO_INFO
|
static int |
TENTATIVE
|
static int |
VALUE_OUT_OF_OFFICE
|
Constructor Summary | |
---|---|
UserAvailabilityData()
|
|
UserAvailabilityData(java.util.Date startDate,
java.util.Date endDate,
int intervalMins)
|
Method Summary | |
---|---|
java.util.Date |
getEndDate()
|
int |
getIntervalMins()
|
java.lang.String |
getSchedulingDataStr()
Use this method to retrive the availability information String the String will be in this example format: 000000000000000000000000002200220000000000 |
java.util.Date |
getStartDate()
|
void |
setEndDate(java.util.Date endDate)
|
void |
setIntervalMins(int intervalMins)
|
void |
setSchedulingDataStr(java.lang.String data)
|
void |
setStartDate(java.util.Date startDate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int FREE
public static int TENTATIVE
public static int BUSY
public static int VALUE_OUT_OF_OFFICE
public static int NO_INFO
Constructor Detail |
---|
public UserAvailabilityData()
public UserAvailabilityData(java.util.Date startDate, java.util.Date endDate, int intervalMins)
Method Detail |
---|
public java.lang.String getSchedulingDataStr()
public void setSchedulingDataStr(java.lang.String data)
public java.util.Date getStartDate()
public java.util.Date getEndDate()
public int getIntervalMins()
public void setStartDate(java.util.Date startDate)
public void setEndDate(java.util.Date endDate)
public void setIntervalMins(int intervalMins)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |