Class used to manipulate dates

uses \IntlDateFormatter
package OWR
used_by \OWR\Controller

 Methods

Converts timestamp to string date by locale

format(int $timestamp, string $locale) : \OWR\formatted
Static
access public
static

Parameters

$timestamp

int

timestamp to convert to string

$locale

string

optionnal locale to convert the timestamp to

Returns

\OWR\formatteddate

 Properties

 

instances of \IntlDateFormatter

$_instances : array
static
access protected