Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс Time

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

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

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

static getFormat ()
 
static isCorrect (string $timeFormatted)
 

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

int $timestamp = 0
 
int $offset = 0
 

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

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

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

◆ __construct()

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

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

Методы

◆ __toString()

__toString ( )

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

◆ getFormat()

static getFormat ( )
static

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

◆ getOffset()

getOffset ( )

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

◆ getTimestamp()

getTimestamp ( )

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

◆ isCorrect()

static isCorrect ( string  $timeFormatted)
static

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

◆ toServerTime()

toServerTime ( )

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

◆ toSystemObject()

toSystemObject ( )

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

◆ toUserTime()

toUserTime ( int  $userOffset)

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

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

◆ $offset

int $offset = 0
protected

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

◆ $timestamp

int $timestamp = 0
protected

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