public class EventCategory extends Object implements com.aspose.ms.System.IEquatable<EventCategory>
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(EventCategory other)
Determines whether the specified object is equal to the current object.
|
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
public static EventCategory getAnniversary()
Anniversary
public static EventCategory getCustom()
Custom description
public final String getValue()
Gets string representation of an event category
public final String getDescription()
Gets description for the 'Custom' category of an event
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.
equals
in interface com.aspose.ms.System.IEquatable<EventCategory>
equals
in class Object
obj
- The Object to compare with 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 comparepublic boolean equals(EventCategory other)
Determines whether the specified object is equal to the current object.
other
- The object to compare with the current object.