
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.ms.System.IEquatable
```
public class EventCategory implements System.IEquatable<EventCategory>
```

Represents category for an event
## Constructors

| Constructor | Description |
| --- | --- |
| [EventCategory(String description)](#EventCategory-java.lang.String-) | Initializes a new instance of the 'Custom' [EventCategory](../../com.aspose.email/eventcategory). |
## Fields

| Field | Description |
| --- | --- |
| [ANNIVERSARY_VALUE](#ANNIVERSARY-VALUE) | String value for 'Anniversary' category |
| [BIRTHDAY_VALUE](#BIRTHDAY-VALUE) | String value for 'Birthday' category |
| [CUSTOM_VALUE](#CUSTOM-VALUE) | String value for 'Custom' category |
## Methods

| Method | Description |
| --- | --- |
| [equals(EventCategory other)](#equals-com.aspose.email.EventCategory-) | Determines whether the specified object is equal to the current object. |
| [equals(Object obj)](#equals-java.lang.Object-) | Determines whether the specified Object is equal to the current Object. |
| [getAnniversary()](#getAnniversary--) | Anniversary |
| [getBirthday()](#getBirthday--) | Birthday |
| [getClass()](#getClass--) |  |
| [getCustom()](#getCustom--) | Custom description |
| [getDescription()](#getDescription--) | Gets description for the 'Custom' category of an event |
| [getValue()](#getValue--) | Gets string representation of an event category |
| [hashCode()](#hashCode--) | GetHashCode returns a hash function for this object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [op_Equality(EventCategory a, EventCategory b)](#op-Equality-com.aspose.email.EventCategory-com.aspose.email.EventCategory-) | Determines whether the specified objects are equal. |
| [op_Inequality(EventCategory a, EventCategory b)](#op-Inequality-com.aspose.email.EventCategory-com.aspose.email.EventCategory-) | Determines whether the specified objects are not equal. |
| [toString()](#toString--) | Returns a string that represents the current object. |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### EventCategory(String description) {#EventCategory-java.lang.String-}
```
public EventCategory(String description)
```


Initializes a new instance of the 'Custom' [EventCategory](../../com.aspose.email/eventcategory).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| description | java.lang.String | Description for the 'Custom' category of an event |

### ANNIVERSARY_VALUE {#ANNIVERSARY-VALUE}
```
public static final String ANNIVERSARY_VALUE
```


String value for 'Anniversary' category

### BIRTHDAY_VALUE {#BIRTHDAY-VALUE}
```
public static final String BIRTHDAY_VALUE
```


String value for 'Birthday' category

### CUSTOM_VALUE {#CUSTOM-VALUE}
```
public static final String CUSTOM_VALUE
```


String value for 'Custom' category

### equals(EventCategory other) {#equals-com.aspose.email.EventCategory-}
```
public boolean equals(EventCategory other)
```


Determines whether the specified object is equal to the current object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [EventCategory](../../com.aspose.email/eventcategory) | The object to compare with the current object. |

**Returns:**
boolean - true if the specified object is equal to the current object; otherwise, false.
### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


Determines whether the specified Object is equal to the current Object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object | The Object to compare with the current Object. |

**Returns:**
boolean - Returns a boolean indicating if the passed in object obj is Equal to this.
### getAnniversary() {#getAnniversary--}
```
public static EventCategory getAnniversary()
```


Anniversary

**Returns:**
[EventCategory](../../com.aspose.email/eventcategory)
### getBirthday() {#getBirthday--}
```
public static EventCategory getBirthday()
```


Birthday

**Returns:**
[EventCategory](../../com.aspose.email/eventcategory)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCustom() {#getCustom--}
```
public static EventCategory getCustom()
```


Custom description

**Returns:**
[EventCategory](../../com.aspose.email/eventcategory)
### getDescription() {#getDescription--}
```
public final String getDescription()
```


Gets description for the 'Custom' category of an event

**Returns:**
java.lang.String
### getValue() {#getValue--}
```
public final String getValue()
```


Gets string representation of an event category

**Returns:**
java.lang.String
### hashCode() {#hashCode--}
```
public int hashCode()
```


GetHashCode returns a hash function for this object.

**Returns:**
int - Returns a hash function for this object.
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### op_Equality(EventCategory a, EventCategory b) {#op-Equality-com.aspose.email.EventCategory-com.aspose.email.EventCategory-}
```
public static boolean op_Equality(EventCategory a, EventCategory b)
```


Determines whether the specified objects are equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [EventCategory](../../com.aspose.email/eventcategory) | First object to compare |
| b | [EventCategory](../../com.aspose.email/eventcategory) | Second object to compare |

**Returns:**
boolean - Returns true if objects are equal, otherwise false.
### op_Inequality(EventCategory a, EventCategory b) {#op-Inequality-com.aspose.email.EventCategory-com.aspose.email.EventCategory-}
```
public static boolean op_Inequality(EventCategory a, EventCategory b)
```


Determines whether the specified objects are not equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | [EventCategory](../../com.aspose.email/eventcategory) | First object to compare |
| b | [EventCategory](../../com.aspose.email/eventcategory) | Second object to compare |

**Returns:**
boolean - Returns true if objects are not equal, otherwise false.
### toString() {#toString--}
```
public String toString()
```


Returns a string that represents the current object.

**Returns:**
java.lang.String - Returns a string that represents the current object.
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

