A CalendarPeriod represents the abstract concept of a time period that has
a canonical start. Grammatically, "the start of the current
CalendarPeriod." All calendar times begin at midnight UTC.

Protobuf type google.type.CalendarPeriod

CloneableInstantiable
Constants
public Google\Type\CalendarPeriod::CALENDAR_PERIOD_UNSPECIFIED = 0
 

Undefined period, raises an error.

Generated from protobuf enum CALENDAR_PERIOD_UNSPECIFIED = 0;

public Google\Type\CalendarPeriod::DAY = 1
 

A day.

Generated from protobuf enum DAY = 1;

public Google\Type\CalendarPeriod::FORTNIGHT = 3
 

A fortnight. The first calendar fortnight of the year begins at the start
of week 1 according to
ISO 8601.

Generated from protobuf enum FORTNIGHT = 3;

public Google\Type\CalendarPeriod::HALF = 6
 

A half-year. Half-years start on dates 1-Jan and 1-Jul.

Generated from protobuf enum HALF = 6;

public Google\Type\CalendarPeriod::MONTH = 4
 

A month.

Generated from protobuf enum MONTH = 4;

public Google\Type\CalendarPeriod::QUARTER = 5
 

A quarter. Quarters start on dates 1-Jan, 1-Apr, 1-Jul, and 1-Oct of each
year.

Generated from protobuf enum QUARTER = 5;

public Google\Type\CalendarPeriod::WEEK = 2
 

A week. Weeks begin on Monday, following
ISO 8601.

Generated from protobuf enum WEEK = 2;

public Google\Type\CalendarPeriod::YEAR = 7
 

A year.

Generated from protobuf enum YEAR = 7;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['CALENDAR_PERIOD_UNSPECIFIED', 'DAY', 'WEEK', 'FORTNIGHT', 'MONTH', 'QUARTER', 'HALF', 'YEAR']
Properties
private static $valueToName = ['CALENDAR_PERIOD_UNSPECIFIED', 'DAY', 'WEEK', 'FORTNIGHT', 'MONTH', 'QUARTER', 'HALF', 'YEAR']
Methods
public static name( $value)
public static value( $name)
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only