\midcom_services_i18n_formatter

Symfony Intl integration

Summary

Methods
Properties
Constants
__construct()
number()
date()
time()
datetime()
customdate()
timeframe()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
constant()
get_locale()
$language
N/A

Properties

$language

$language : string

Type

string

Methods

__construct()

__construct(  $language) 

Parameters

$language

number()

number(  $value,   $precision = 2) 

Parameters

$value
$precision

date()

date(  $value = null,   $dateformat = 'medium',   $timeformat = 'none') 

Parameters

$value
$dateformat
$timeformat

time()

time(  $value = null,   $dateformat = 'none',   $timeformat = 'short') 

Parameters

$value
$dateformat
$timeformat

datetime()

datetime(  $value = null,   $dateformat = 'medium',   $timeformat = 'short') 

Parameters

$value
$dateformat
$timeformat

customdate()

customdate(  $value,   $pattern) 

Parameters

$value
$pattern

timeframe()

timeframe(  $start,   $end,   $mode = 'both',   $range_separator = null,   $fulldate = false) 

Parameters

$start
$end
$mode
$range_separator
$fulldate

constant()

constant(  $input) 

Parameters

$input

get_locale()

get_locale()