‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest:

Public Member Functions

 convertFromReturnsAnErrorWhenConvertingIntegersToDateTime ()
 
 convertFromReturnsNullIfSourceIsAnEmptyString ()
 
 convertDefaultDateFormatString ()
 
 convertCustomDateFormatString ()
 
 convertThrowsInvalidPropertyMappingConfigurationExceptionIfDateFormatIsNotAString ()
 
 convertWithArraySourceWithStringDate ()
 
 convertWithArraySourceWithIntegerDate ()
 
 convertWithArraySourceWithDayMonthAndYearSet ()
 
 convertWithArraySourceWithDayMonthYearAndDateFormatSet ()
 
 convertWithArraySourceWithDayMonthYearHourMinuteAndSecondSet ()
 
 convertWithArraySourceWithDayMonthYearAndTimeZoneSetWithDateThatIncludesTimezone ()
 
 convertWithArraySourceWithDayMonthYearAndTimeZoneSet ()
 
 convertFromReturnsErrorIfSourceIsAnArrayAndEitherDayMonthOrYearAreLowerThanOne ()
 
 convertFromThrowsTypeConverterExceptionIfSourceIsAnInvalidArraySource ()
 
 convertFromThrowsTypeConverterExceptionIfGivenDateTimeZoneIsInvalid ()
 

Protected Attributes

bool $initializeDatabase = false
 

Detailed Description

Definition at line 27 of file DateTimeConverterTest.php.

Member Function Documentation

◆ convertCustomDateFormatString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertCustomDateFormatString ( )

◆ convertDefaultDateFormatString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertDefaultDateFormatString ( )

Definition at line 58 of file DateTimeConverterTest.php.

◆ convertFromReturnsAnErrorWhenConvertingIntegersToDateTime()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromReturnsAnErrorWhenConvertingIntegersToDateTime ( )

Definition at line 32 of file DateTimeConverterTest.php.

◆ convertFromReturnsErrorIfSourceIsAnArrayAndEitherDayMonthOrYearAreLowerThanOne()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromReturnsErrorIfSourceIsAnArrayAndEitherDayMonthOrYearAreLowerThanOne ( )

Definition at line 270 of file DateTimeConverterTest.php.

◆ convertFromReturnsNullIfSourceIsAnEmptyString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromReturnsNullIfSourceIsAnEmptyString ( )

Definition at line 47 of file DateTimeConverterTest.php.

◆ convertFromThrowsTypeConverterExceptionIfGivenDateTimeZoneIsInvalid()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromThrowsTypeConverterExceptionIfGivenDateTimeZoneIsInvalid ( )

◆ convertFromThrowsTypeConverterExceptionIfSourceIsAnInvalidArraySource()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertFromThrowsTypeConverterExceptionIfSourceIsAnInvalidArraySource ( )

Definition at line 293 of file DateTimeConverterTest.php.

◆ convertThrowsInvalidPropertyMappingConfigurationExceptionIfDateFormatIsNotAString()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertThrowsInvalidPropertyMappingConfigurationExceptionIfDateFormatIsNotAString ( )

◆ convertWithArraySourceWithDayMonthAndYearSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthAndYearSet ( )

◆ convertWithArraySourceWithDayMonthYearAndDateFormatSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearAndDateFormatSet ( )

Definition at line 180 of file DateTimeConverterTest.php.

◆ convertWithArraySourceWithDayMonthYearAndTimeZoneSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearAndTimeZoneSet ( )

◆ convertWithArraySourceWithDayMonthYearAndTimeZoneSetWithDateThatIncludesTimezone()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearAndTimeZoneSetWithDateThatIncludesTimezone ( )

Definition at line 222 of file DateTimeConverterTest.php.

◆ convertWithArraySourceWithDayMonthYearHourMinuteAndSecondSet()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithDayMonthYearHourMinuteAndSecondSet ( )

Definition at line 199 of file DateTimeConverterTest.php.

◆ convertWithArraySourceWithIntegerDate()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithIntegerDate ( )

◆ convertWithArraySourceWithStringDate()

TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::convertWithArraySourceWithStringDate ( )

Definition at line 114 of file DateTimeConverterTest.php.

Member Data Documentation

◆ $initializeDatabase

bool TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter\DateTimeConverterTest::$initializeDatabase = false
protected

Definition at line 29 of file DateTimeConverterTest.php.