PHP 클래스 Neos\Flow\Tests\Unit\I18n\Formatter\DatetimeFormatterTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$sampleDateTime DateTime Timestamp for: 2010-06-10T17:49:36+00:00 Please note that timezone for this object is changed, so it actually represents date one hour later.
$sampleLocale Neos\Flow\I18n\Locale Dummy locale used in methods where locale is needed.
$sampleLocalizedLiterals array

공개 메소드들

메소드 설명
customFormatsAndFormattedDatetimes ( ) : array Data provider with custom formats, theirs parsed versions, and expected results.
formatMethodsAreChoosenCorrectly ( )
formattingUsingCustomPatternWorks ( $format, array $parsedFormat, $expectedResult )
parsedFormatsAndFormattedDatetimes ( ) : array Data provider with example parsed formats, and expected results.
parsedFormatsAreUsedCorrectly ( array $parsedFormat, $expectedResult )
sampleDataForSpecificFormattingMethods ( ) : array Data provider with parsed formats, expected results, and format types.
setUp ( ) : void
specificFormattingMethodsWork ( array $parsedFormat, $expectedResult, $formatType )

메소드 상세

customFormatsAndFormattedDatetimes() 공개 메소드

Data provider with custom formats, theirs parsed versions, and expected results.

formatMethodsAreChoosenCorrectly() 공개 메소드

formattingUsingCustomPatternWorks() 공개 메소드

public formattingUsingCustomPatternWorks ( $format, array $parsedFormat, $expectedResult )
$parsedFormat array

parsedFormatsAndFormattedDatetimes() 공개 메소드

Data provider with example parsed formats, and expected results.

parsedFormatsAreUsedCorrectly() 공개 메소드

public parsedFormatsAreUsedCorrectly ( array $parsedFormat, $expectedResult )
$parsedFormat array

sampleDataForSpecificFormattingMethods() 공개 메소드

Data provider with parsed formats, expected results, and format types.

setUp() 공개 메소드

public setUp ( ) : void
리턴 void

specificFormattingMethodsWork() 공개 메소드

public specificFormattingMethodsWork ( array $parsedFormat, $expectedResult, $formatType )
$parsedFormat array

프로퍼티 상세

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

Timestamp for: 2010-06-10T17:49:36+00:00 Please note that timezone for this object is changed, so it actually represents date one hour later.
protected DateTime $sampleDateTime
리턴 DateTime

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

Dummy locale used in methods where locale is needed.
protected Locale,Neos\Flow\I18n $sampleLocale
리턴 Neos\Flow\I18n\Locale

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

protected array $sampleLocalizedLiterals
리턴 array