ezvcard.parameter
Class Calscale
java.lang.Object
ezvcard.parameter.VCardParameter
ezvcard.parameter.Calscale
public class Calscale
- extends VCardParameter
Represents a CALSCALE parameter.
Supported versions: 4.0
- Author:
- Michael Angstadt
Method Summary |
static Collection<Calscale> |
all()
Gets all of the parameter values that are defined as static constants in
this class. |
static Calscale |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class. |
static Calscale |
get(String value)
Searches for a parameter value and creates one if it cannot be found. |
GREGORIAN
public static final Calscale GREGORIAN
find
public static Calscale 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 Calscale 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
all
public static Collection<Calscale> all()
- Gets all of the parameter values that are defined as static constants in
this class.
- Returns:
- the parameter values
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.