Occurrence
extends Enumeration
in package
Represents the occurrence of the day of the week in a month.
Table of Contents
Constants
- FIRST_FROM_BEGINNING = 1
- The first occurrence of the specified day of the week from the beginning of the month.
- FIRST_FROM_END = -1
- The first occurrence of the specified day of the week from the end of the month.
- FOURTH_FROM_BEGINNING = 4
- The fourth occurrence of the specified day of the week from the beginning of the month.
- FOURTH_FROM_END = -4
- The fourth occurrence of the specified day of the week from the end of the month.
- SECOND_FROM_BEGINNING = 2
- The second occurrence of the specified day of the week from the beginning of the month.
- SECOND_FROM_END = -2
- The second occurrence of the specified day of the week from the end of the month.
- THIRD_FROM_BEGINNING = 3
- The third occurrence of the specified day of the week from the beginning of the month.
- THIRD_FROM_END = -3
- The third occurrence of the specified day of the week from the end of the month.
Properties
- $_ : string
- Element value.
Methods
- __clone() : mixed
- Clones any object properties on a type object when it is cloned. Allows for a deep clone required when using object to represent data types when making a SOAP call.
- __toString() : string
- Returns the value of this enumeration as a string.
Constants
FIRST_FROM_BEGINNING
The first occurrence of the specified day of the week from the beginning of the month.
public
int
FIRST_FROM_BEGINNING
= 1
Tags
FIRST_FROM_END
The first occurrence of the specified day of the week from the end of the month.
public
int
FIRST_FROM_END
= -1
Tags
FOURTH_FROM_BEGINNING
The fourth occurrence of the specified day of the week from the beginning of the month.
public
int
FOURTH_FROM_BEGINNING
= 4
Tags
FOURTH_FROM_END
The fourth occurrence of the specified day of the week from the end of the month.
public
int
FOURTH_FROM_END
= -4
Tags
SECOND_FROM_BEGINNING
The second occurrence of the specified day of the week from the beginning of the month.
public
int
SECOND_FROM_BEGINNING
= 2
Tags
SECOND_FROM_END
The second occurrence of the specified day of the week from the end of the month.
public
int
SECOND_FROM_END
= -2
Tags
THIRD_FROM_BEGINNING
The third occurrence of the specified day of the week from the beginning of the month.
public
int
THIRD_FROM_BEGINNING
= 3
Tags
THIRD_FROM_END
The third occurrence of the specified day of the week from the end of the month.
public
int
THIRD_FROM_END
= -3
Tags
Properties
$_
Element value.
public
string
$_
Tags
Methods
__clone()
Clones any object properties on a type object when it is cloned. Allows for a deep clone required when using object to represent data types when making a SOAP call.
public
__clone() : mixed
__toString()
Returns the value of this enumeration as a string.
public
__toString() : string
.