AddressEntry user = ...;
String freeBusyInfo = user.getFreeBusy(new Date(), 30);
for(int i=0; i<freeBusyInfo.length(); i++)
{
switch(freeBusyInfo.charAt(i))
{
case '0' : System.out.println("Free"); break;
case '1' : System.out.println("Tentative"); break;
case '2' : System.out.println("Busy"); break;
case '3' : System.out.println("OutOfOffice"); break;
}
}
API Reference
| Classic JavaDoc |
AddressEntry.getFreeBusy
public java.lang.String getFreeBusy(java.util.Date start, int minPerChar)
Community comments
Powered by JavaDocPlus