eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZTime

class eZTime

Constants

SECONDS_A_MINUTE

SECONDS_AN_HOUR

SECONDS_A_DAY

Properties

$Locale
$Time

Methods

eZTime($timestamp = false)

attributes()

hasAttribute($name)

attribute($name)

isValid()

setLocale($locale)

locale()

setHour($hour)

setMinute($min)

setSecond($sec)

setHMS($hour, $min, $sec)

hour()

minute()

second()

timeStamp()

setTimeStamp($timestamp)

timeOfDay()

setTimeOfDay($timestamp)

adjustTime($hour, $minute, $second)

duplicate()

isGreaterThan($time, $equal = false)

isEqualTo($time)

toString($short = false)

Details

at line 79
public eZTime($timestamp = false)

Parameters

$timestamp

at line 96
public attributes()

at line 106
public hasAttribute($name)

Parameters

$name

at line 111
public attribute($name)

Parameters

$name

at line 133
public isValid()

at line 141
public setLocale($locale)

Parameters

$locale

at line 149
public locale()

at line 157
public setHour($hour)

Parameters

$hour

at line 166
public setMinute($min)

Parameters

$min

at line 175
public setSecond($sec)

Parameters

$sec

at line 184
public setHMS($hour, $min, $sec)

Parameters

$hour
$min
$sec

at line 193
public hour()

at line 201
public minute()

at line 209
public second()

at line 217
public timeStamp()

at line 232
public setTimeStamp($timestamp)

Parameters

$timestamp

at line 244
public timeOfDay()

at line 252
public setTimeOfDay($timestamp)

Parameters

$timestamp

at line 265
public adjustTime($hour, $minute, $second)

Parameters

$hour
$minute
$second

at line 291
public duplicate()

at line 302
public isGreaterThan($time, $equal = false)

Parameters

$time
$equal

at line 321
public isEqualTo($time)

Parameters

$time

at line 335
public toString($short = false)

Parameters

$short