Civil Date PHP Package

Season : int
in package

Represents the four seasons of the year.

Table of Contents

Cases

Autumn  = 3
Autumn season.
Spring  = 1
Spring season.
Summer  = 2
Summer season.
Winter  = 4
Winter season.

Methods

opposite()  : self
Returns the season opposite to this one in the annual cycle.

Cases

Methods

opposite()

Returns the season opposite to this one in the annual cycle.

public opposite() : self

This maps equivalent seasons between the northern and southern hemispheres.

Return values
self

Opposite season.

On this page

Search results