PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Tests\Content\FieldValue\Converter\DateAndTimeTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$converter eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\DateAndTimeConverter
$date DateTime

공개 메소드들

메소드 설명
testGenerateDateIntervalXML ( )
testGetDateIntervalFromXML ( )
testToFieldDefinitionCurrentDate ( )
testToFieldDefinitionNoDefault ( )
testToFieldDefinitionWithAdjustmentAndSeconds ( )
testToFieldDefinitionWithAdjustmentNoSeconds ( )
testToFieldValue ( )
testToStorageFieldDefinitionCurrentDate ( )
testToStorageFieldDefinitionNoDefault ( )
testToStorageFieldDefinitionWithAdjustment ( )
testToStorageValue ( )

보호된 메소드들

메소드 설명
setUp ( )

비공개 메소드들

메소드 설명
getXMLStringFromDateInterval ( DateInterval $dateInterval ) : string Generates XML string from $dateInterval.
getXMLToDateIntervalMap ( ) : array Returns map from internal XML nodes to DateInterval properties for date adjustment.

메소드 상세

setUp() 보호된 메소드

protected setUp ( )

testGenerateDateIntervalXML() 공개 메소드

testGetDateIntervalFromXML() 공개 메소드

testToFieldDefinitionCurrentDate() 공개 메소드

testToFieldDefinitionNoDefault() 공개 메소드

testToFieldDefinitionWithAdjustmentAndSeconds() 공개 메소드

testToFieldDefinitionWithAdjustmentNoSeconds() 공개 메소드

testToFieldValue() 공개 메소드

public testToFieldValue ( )

testToStorageFieldDefinitionCurrentDate() 공개 메소드

testToStorageFieldDefinitionNoDefault() 공개 메소드

testToStorageFieldDefinitionWithAdjustment() 공개 메소드

testToStorageValue() 공개 메소드

public testToStorageValue ( )

프로퍼티 상세

$converter 보호되어 있는 프로퍼티

protected DateAndTimeConverter,eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter $converter
리턴 eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\DateAndTimeConverter

$date 보호되어 있는 프로퍼티

protected DateTime $date
리턴 DateTime