PHP Class Jyxo\Time\Composer

Author: Martin Šamšula
Datei anzeigen Open project: jyxo/php

Public Methods

Method Description
getTime ( ) : Time Returns the composed date/time.
setDay ( integer $day ) : self Sets the day.
setHour ( integer $hour ) : self Sets hours.
setMinute ( integer $minute ) : self Sets minutes.
setMonth ( integer $month ) : self Sets the month.
setSecond ( integer $second ) : self Sets seconds.
setYear ( integer $year ) : self Sets the year.

Method Details

getTime() public method

Returns the composed date/time.
public getTime ( ) : Time
return Time

setDay() public method

Sets the day.
public setDay ( integer $day ) : self
$day integer Day of the month
return self

setHour() public method

Sets hours.
public setHour ( integer $hour ) : self
$hour integer Hours
return self

setMinute() public method

Sets minutes.
public setMinute ( integer $minute ) : self
$minute integer Minutes
return self

setMonth() public method

Sets the month.
public setMonth ( integer $month ) : self
$month integer Month
return self

setSecond() public method

Sets seconds.
public setSecond ( integer $second ) : self
$second integer Seconds
return self

setYear() public method

Sets the year.
public setYear ( integer $year ) : self
$year integer Year
return self