public class EventCategory extends Object
Represents category for an event
Modifier and Type | Field and Description |
---|---|
static String |
ANNIVERSARY_VALUE
String value for 'Anniversary' category
|
static String |
BIRTHDAY_VALUE
String value for 'Birthday' category
|
static String |
CUSTOM_VALUE
String value for 'Custom' category
|
Constructor and Description |
---|
EventCategory(String description)
Initializes a new instance of the 'Custom'
EventCategory . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
static EventCategory |
getAnniversary()
Anniversary
|
static EventCategory |
getBirthday()
Birthday
|
static EventCategory |
getCustom()
Custom description
|
String |
getDescription()
Gets description for the 'Custom' category of an event
|
String |
getValue()
Gets string representation of an event category
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
static boolean |
op_Equality(EventCategory a,
EventCategory b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(EventCategory a,
EventCategory b)
Determines whether the specified objects are not equal.
|
String |
toString()
Returns a string that represents the current object.
|
public static final String CUSTOM_VALUE
String value for 'Custom' category
public static final String BIRTHDAY_VALUE
String value for 'Birthday' category
public static final String ANNIVERSARY_VALUE
String value for 'Anniversary' category
public EventCategory(String description)
Initializes a new instance of the 'Custom' EventCategory
.
description
- Description for the 'Custom' category of an eventpublic static EventCategory getBirthday()
Birthday
EventCategory
object.public static EventCategory getAnniversary()
Anniversary
EventCategory
object.public static EventCategory getCustom()
Custom description
EventCategory
object.public String getValue()
Gets string representation of an event category
String
object.public String getDescription()
Gets description for the 'Custom' category of an event
String
object.public String toString()
Returns a string that represents the current object.
public int hashCode()
GetHashCode returns a hash function for this object.
public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
public static boolean op_Equality(EventCategory a, EventCategory b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(EventCategory a, EventCategory b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to compareCopyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.