jDatatypeLocaleTimeShort

Extends \jDatatypeDateTime

Datatype localetime

Possible facets are: 'maxValue', 'minValue'

package

jelix

subpackage

datatypes

author

dhughuet, time short

Methods

_addFacet

_addFacet( $type,  $value) 
inherited

Arguments

$type

$value

call it to add restriction on possible values

addFacet(string $type, string $value = null) 
inherited

Arguments

$type

string

$value

string

says if the value can contain only whitespaces

allowWhitespace() : boolean
inherited
since 1.2.7

Response

boolean

verify a value : it should correspond to the datatype

check(string $value) : boolean
inherited

Arguments

$value

string

Response

boolean

true if the value is ok

get a restriction value

getFacet(string $type) : mixed
inherited
since 1.0

Arguments

$type

string

Response

mixed

the value

getFormat

getFormat() 
inherited
since 1.0

Properties

format

format : 
inherited

Type(s)

facets

facets : 
inherited

Type(s)

maxValue

maxValue : 
inherited

Type(s)

minValue

minValue : 
inherited

Type(s)

dt

dt : 
inherited

Type(s)

_date_format

_date_format : 
inherited

Type(s)

hasFacets

hasFacets : 
inherited

Type(s)