Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Time
+ Граф наследования:Time:

Открытые члены

 __construct (string $timeFormatted, int $offset=0)
 
 getTimestamp ()
 
 getOffset ()
 
 __toString ()
 
 toSystemObject ()
 
 toServerTime ()
 
 toUserTime (int $userOffset)
 
 jsonSerialize ()
 
 serialize ()
 

Открытые статические члены

static getFormat ()
 
static getRenderFormat ()
 
static isCorrect (string $timeFormatted)
 
static tryMakeCorrectFormat (string $timeFormatted, int $offset=0)
 

Защищенные данные

int $timestamp = 0
 
int $offset = 0
 

Подробное описание

См. определение в файле time.php строка 7

Конструктор(ы)

◆ __construct()

__construct ( string $timeFormatted,
int $offset = 0 )

См. определение в файле time.php строка 12

Методы

◆ __toString()

__toString ( )

См. определение в файле time.php строка 47

◆ getFormat()

static getFormat ( )
static

См. определение в файле time.php строка 67

◆ getOffset()

getOffset ( )

См. определение в файле time.php строка 42

◆ getRenderFormat()

static getRenderFormat ( )
static

См. определение в файле time.php строка 72

◆ getTimestamp()

getTimestamp ( )

См. определение в файле time.php строка 37

◆ isCorrect()

static isCorrect ( string $timeFormatted)
static

См. определение в файле time.php строка 77

◆ jsonSerialize()

jsonSerialize ( )

См. определение в файле time.php строка 89

◆ serialize()

serialize ( )

См. определение в файле time.php строка 94

◆ toServerTime()

toServerTime ( )

См. определение в файле time.php строка 57

◆ toSystemObject()

toSystemObject ( )

См. определение в файле time.php строка 52

◆ toUserTime()

toUserTime ( int $userOffset)

См. определение в файле time.php строка 62

◆ tryMakeCorrectFormat()

static tryMakeCorrectFormat ( string $timeFormatted,
int $offset = 0 )
static

См. определение в файле time.php строка 124

Данные класса

◆ $offset

int $offset = 0
protected

См. определение в файле time.php строка 10

◆ $timestamp

int $timestamp = 0
protected

См. определение в файле time.php строка 9