biweekly.parameter
Class FreeBusyType
java.lang.Object
biweekly.parameter.EnumParameterValue
biweekly.parameter.FreeBusyType
public class FreeBusyType
- extends EnumParameterValue
Defines whether a calendar user is free or busy over a time period.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545 p.20-1
Method Summary |
static FreeBusyType |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class. |
static FreeBusyType |
get(String value)
Searches for a parameter value and creates one if it cannot be found. |
FREE
public static final FreeBusyType FREE
BUSY
public static final FreeBusyType BUSY
BUSY_UNAVAILABLE
public static final FreeBusyType BUSY_UNAVAILABLE
BUSY_TENTATIVE
public static final FreeBusyType BUSY_TENTATIVE
find
public static FreeBusyType find(String value)
- Searches for a parameter value that is defined as a static constant in
this class.
- Parameters:
value
- the parameter value
- Returns:
- the object or null if not found
get
public static FreeBusyType get(String value)
- Searches for a parameter value and creates one if it cannot be found. All
objects are guaranteed to be unique, so they can be compared with
==
equality.
- Parameters:
value
- the parameter value
- Returns:
- the object
Copyright © 2013 Michael Angstadt. All Rights Reserved.