TestClassDateTimeFormatter
extends WP_UnitTest_Localized
in package
Table of Contents
- $_localeSwitched : bool
- set_up() : mixed
- set_up_before_class() : mixed
- tear_down() : mixed
- tear_down_after_class() : mixed
- testException() : mixed
- Change this, when implementing long date
- testShortDate() : mixed
- testShortDateTime() : mixed
- testShortTime() : mixed
- switchLocale() : mixed
- getTimestamp() : int
Properties
$_localeSwitched
private
bool
$_localeSwitched
= false
Methods
set_up()
public
set_up() : mixed
Return values
mixed —set_up_before_class()
public
static set_up_before_class() : mixed
Return values
mixed —tear_down()
public
tear_down() : mixed
Return values
mixed —tear_down_after_class()
public
static tear_down_after_class() : mixed
Return values
mixed —testException()
Change this, when implementing long date
public
testException() : mixed
Return values
mixed —testShortDate()
public
testShortDate() : mixed
Return values
mixed —testShortDateTime()
public
testShortDateTime() : mixed
Return values
mixed —testShortTime()
public
testShortTime() : mixed
Return values
mixed —switchLocale()
protected
switchLocale(string $newLocale) : mixed
Parameters
- $newLocale : string
Tags
Return values
mixed —getTimestamp()
private
getTimestamp() : int