Pionia Core

WeekDay : int
in package

Table of Contents

Cases

Friday  = 5
Monday  = 1
Saturday  = 6
Sunday
Thursday  = 4
Tuesday  = 2
Wednesday  = 3

Methods

fromName()  : self
fromNumber()  : self
int()  : int|null
locale()  : CarbonImmutable
next()  : CarbonImmutable

Cases

Methods

fromName()

public static fromName(string $name[, string|null $locale = null ]) : self
Parameters
$name : string
$locale : string|null = null
Return values
self

fromNumber()

public static fromNumber(int $number) : self
Parameters
$number : int
Return values
self

int()

public static int(self|int|null $value) : int|null
Parameters
$value : self|int|null
Return values
int|null

        
On this page

Search results