Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Mongolid
Serializer
Type
UTCDatetimeTest
PHP 클래스 Mongolid\Serializer\Type\UTCDatetimeTest
상속:
extends
TestCas\TestCase
파일 보기
프로젝트 열기: leroy-merlin-br/mongolid
보호된 프로퍼티들
프로퍼티
타입
설명
$dateTime
UTCDateTime
$mongoDate
MongoDB\BSON\UTCDateTime
$timestamp
integer
공개 메소드들
메소드
설명
setUp
( )
tearDown
( )
testCallUndefinedMethodOfUtcDateTimeShouldCallMongoUtcDateTime
( )
testConstrucorWithInvalidParameterShouldThrowException
( )
testConstructorUsingMongoDateShouldSetMongoDateAndTimestamp
( )
testConstructorUsingNullShouldSetMongoDateAndTimestamp
( )
testConstructorUsingTimestampShouldSetMongoDateAndTimestamp
( )
testConvertShouldRetrieveMongodbUtcDateTime
( )
testShouldGetDateTimeWithProperTimezoneSet
( )
testShouldProperlyEncodeToJson
( )
testUnserializeShouldKeepFormattedDate
( )
testUtcDateTimeShouldBeSerializable
( )
메소드 상세
setUp()
공개
메소드
public
setUp
( )
tearDown()
공개
메소드
public
tearDown
( )
testCallUndefinedMethodOfUtcDateTimeShouldCallMongoUtcDateTime()
공개
메소드
public
testCallUndefinedMethodOfUtcDateTimeShouldCallMongoUtcDateTime
( )
testConstrucorWithInvalidParameterShouldThrowException()
공개
메소드
public
testConstrucorWithInvalidParameterShouldThrowException
( )
testConstructorUsingMongoDateShouldSetMongoDateAndTimestamp()
공개
메소드
public
testConstructorUsingMongoDateShouldSetMongoDateAndTimestamp
( )
testConstructorUsingNullShouldSetMongoDateAndTimestamp()
공개
메소드
public
testConstructorUsingNullShouldSetMongoDateAndTimestamp
( )
testConstructorUsingTimestampShouldSetMongoDateAndTimestamp()
공개
메소드
public
testConstructorUsingTimestampShouldSetMongoDateAndTimestamp
( )
testConvertShouldRetrieveMongodbUtcDateTime()
공개
메소드
public
testConvertShouldRetrieveMongodbUtcDateTime
( )
testShouldGetDateTimeWithProperTimezoneSet()
공개
메소드
public
testShouldGetDateTimeWithProperTimezoneSet
( )
testShouldProperlyEncodeToJson()
공개
메소드
public
testShouldProperlyEncodeToJson
( )
testUnserializeShouldKeepFormattedDate()
공개
메소드
public
testUnserializeShouldKeepFormattedDate
( )
testUtcDateTimeShouldBeSerializable()
공개
메소드
public
testUtcDateTimeShouldBeSerializable
( )
프로퍼티 상세
$dateTime
보호되어 있는 프로퍼티
protected
UTCDateTime,Mongolid\Serializer\Type
$dateTime
리턴
UTCDateTime
$mongoDate
보호되어 있는 프로퍼티
protected
UTCDateTime,MongoDB\BSON
$mongoDate
리턴
MongoDB\BSON\UTCDateTime
$timestamp
보호되어 있는 프로퍼티
protected
int
$timestamp
리턴
integer