
**Inheritance:**
java.lang.Object
```
public final class TimePeriodType
```

Used in a FormatConditionType.TimePeriod conditional formatting rule. These are dynamic time periods, which change based on the date the conditional formatting is refreshed / applied.
## Fields

| Field | Description |
| --- | --- |
| [LAST_7_DAYS](#LAST-7-DAYS) | A date in the last seven days. |
| [LAST_MONTH](#LAST-MONTH) | A date occurring in the last calendar month. |
| [LAST_WEEK](#LAST-WEEK) | A date occurring last week. |
| [LAST_YEAR](#LAST-YEAR) | A date occurring last year. |
| [NEXT_MONTH](#NEXT-MONTH) | A date occurring in the next calendar month. |
| [NEXT_WEEK](#NEXT-WEEK) | A date occurring next week. |
| [NEXT_YEAR](#NEXT-YEAR) | A date occurring next year. |
| [THIS_MONTH](#THIS-MONTH) | A date occurring in this calendar month. |
| [THIS_WEEK](#THIS-WEEK) | A date occurring this week. |
| [THIS_YEAR](#THIS-YEAR) | A date occurring this year. |
| [TODAY](#TODAY) | Today's date. |
| [TOMORROW](#TOMORROW) | Tomorrow's date. |
| [YESTERDAY](#YESTERDAY) | Yesterday's date. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### LAST_7_DAYS {#LAST-7-DAYS}
```
public static final int LAST_7_DAYS
```


A date in the last seven days.

### LAST_MONTH {#LAST-MONTH}
```
public static final int LAST_MONTH
```


A date occurring in the last calendar month.

### LAST_WEEK {#LAST-WEEK}
```
public static final int LAST_WEEK
```


A date occurring last week.

### LAST_YEAR {#LAST-YEAR}
```
public static final int LAST_YEAR
```


A date occurring last year. Only for .ods.

### NEXT_MONTH {#NEXT-MONTH}
```
public static final int NEXT_MONTH
```


A date occurring in the next calendar month.

### NEXT_WEEK {#NEXT-WEEK}
```
public static final int NEXT_WEEK
```


A date occurring next week.

### NEXT_YEAR {#NEXT-YEAR}
```
public static final int NEXT_YEAR
```


A date occurring next year. Only for .ods.

### THIS_MONTH {#THIS-MONTH}
```
public static final int THIS_MONTH
```


A date occurring in this calendar month.

### THIS_WEEK {#THIS-WEEK}
```
public static final int THIS_WEEK
```


A date occurring this week.

### THIS_YEAR {#THIS-YEAR}
```
public static final int THIS_YEAR
```


A date occurring this year. Only for .ods.

### TODAY {#TODAY}
```
public static final int TODAY
```


Today's date.

### TOMORROW {#TOMORROW}
```
public static final int TOMORROW
```


Tomorrow's date.

### YESTERDAY {#YESTERDAY}
```
public static final int YESTERDAY
```


Yesterday's date.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### 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 |  |

