Month
in package
Represents a month in the Gregorian calendar.
Protobuf type google.type.Month
Table of Contents
Constants
- APRIL = 4
- The month of April.
- AUGUST = 8
- The month of August.
- DECEMBER = 12
- The month of December.
- FEBRUARY = 2
- The month of February.
- JANUARY = 1
- The month of January.
- JULY = 7
- The month of July.
- JUNE = 6
- The month of June.
- MARCH = 3
- The month of March.
- MAY = 5
- The month of May.
- MONTH_UNSPECIFIED = 0
- The unspecified month.
- NOVEMBER = 11
- The month of November.
- OCTOBER = 10
- The month of October.
- SEPTEMBER = 9
- The month of September.
Properties
- $valueToName : mixed
Methods
Constants
APRIL
The month of April.
public
mixed
APRIL
= 4
Generated from protobuf enum APRIL = 4;
AUGUST
The month of August.
public
mixed
AUGUST
= 8
Generated from protobuf enum AUGUST = 8;
DECEMBER
The month of December.
public
mixed
DECEMBER
= 12
Generated from protobuf enum DECEMBER = 12;
FEBRUARY
The month of February.
public
mixed
FEBRUARY
= 2
Generated from protobuf enum FEBRUARY = 2;
JANUARY
The month of January.
public
mixed
JANUARY
= 1
Generated from protobuf enum JANUARY = 1;
JULY
The month of July.
public
mixed
JULY
= 7
Generated from protobuf enum JULY = 7;
JUNE
The month of June.
public
mixed
JUNE
= 6
Generated from protobuf enum JUNE = 6;
MARCH
The month of March.
public
mixed
MARCH
= 3
Generated from protobuf enum MARCH = 3;
MAY
The month of May.
public
mixed
MAY
= 5
Generated from protobuf enum MAY = 5;
MONTH_UNSPECIFIED
The unspecified month.
public
mixed
MONTH_UNSPECIFIED
= 0
Generated from protobuf enum MONTH_UNSPECIFIED = 0;
NOVEMBER
The month of November.
public
mixed
NOVEMBER
= 11
Generated from protobuf enum NOVEMBER = 11;
OCTOBER
The month of October.
public
mixed
OCTOBER
= 10
Generated from protobuf enum OCTOBER = 10;
SEPTEMBER
The month of September.
public
mixed
SEPTEMBER
= 9
Generated from protobuf enum SEPTEMBER = 9;
Properties
$valueToName
private
static mixed
$valueToName
= [self::MONTH_UNSPECIFIED => 'MONTH_UNSPECIFIED', self::JANUARY => 'JANUARY', self::FEBRUARY => 'FEBRUARY', self::MARCH => 'MARCH', self::APRIL => 'APRIL', self::MAY => 'MAY', self::JUNE => 'JUNE', self::JULY => 'JULY', self::AUGUST => 'AUGUST', self::SEPTEMBER => 'SEPTEMBER', self::OCTOBER => 'OCTOBER', self::NOVEMBER => 'NOVEMBER', self::DECEMBER => 'DECEMBER']
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed