eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZDateTime

class eZDateTime

Properties

$Locale
$DateTime
$IsValid

Methods

eZDateTime($datetime = false)

attributes()

hasAttribute($name)

attribute($name)

isValid()

setLocale($locale)

locale()

timeZone()

timeStamp()

setTimeStamp($stamp)

toDate()

toTime()

year()

month()

day()

hour()

minute()

second()

setYear($year)

setMonth($month)

setDay($day)

setHour($hour)

setMinute($min)

setSecond($sec)

setHMS($hour, $min, $sec)

setMDYHMS($month, $day, $year, $hour, $min, $sec)

setMDY($month, $day, $year)

adjustDateTime($hour, $minute, $second, $month, $day, $year)

isGreaterThan($datetime, $equal = false)

isEqualTo($datetime)

duplicate()

toString($short = false)

Details

at line 67
public eZDateTime($datetime = false)

Parameters

$datetime

at line 93
public attributes()

at line 105
public hasAttribute($name)

Parameters

$name

at line 110
public attribute($name)

Parameters

$name

at line 154
public isValid()

at line 162
public setLocale($locale)

Parameters

$locale

at line 170
public locale()

at line 178
public timeZone()

at line 187
public timeStamp()

at line 192
public setTimeStamp($stamp)

Parameters

$stamp

at line 211
public toDate()

at line 222
public toTime()

at line 232
public year()

at line 240
public month()

at line 248
public day()

at line 256
public hour()

at line 264
public minute()

at line 272
public second()

at line 280
public setYear($year)

Parameters

$year

at line 290
public setMonth($month)

Parameters

$month

at line 300
public setDay($day)

Parameters

$day

at line 310
public setHour($hour)

Parameters

$hour

at line 320
public setMinute($min)

Parameters

$min

at line 330
public setSecond($sec)

Parameters

$sec

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

Parameters

$hour
$min
$sec

at line 350
public setMDYHMS($month, $day, $year, $hour, $min, $sec)

Parameters

$month
$day
$year
$hour
$min
$sec

at line 359
public setMDY($month, $day, $year)

Parameters

$month
$day
$year

at line 378
public adjustDateTime($hour, $minute, $second, $month, $day, $year)

Parameters

$hour
$minute
$second
$month
$day
$year

at line 393
public isGreaterThan($datetime, $equal = false)

Parameters

$datetime
$equal

at line 424
public isEqualTo($datetime)

Parameters

$datetime

at line 473
public duplicate()

at line 483
public toString($short = false)

Parameters

$short