
Public Member Functions | |
| __construct ($input) | |
| getHour () | |
| setHour ($hour) | |
| |
| getMinute () | |
| setMinute ($minute) | |
| |
| getSecond () | |
| setSecond ($second) | |
| |
| toString ($delimiter= ':') | |
| HH:MM. | |
| toFullString ($delimiter= ':') | |
| HH:MM:SS. | |
| toMinutes () | |
| toSeconds () | |
Static Public Member Functions | |
| static | create ($input) |
| |
Private Member Functions | |
| doublize ($int) | |
Private Attributes | |
| $hour = 0 | |
| $minute = 0 | |
| $second = 0 | |
| $string = null | |
Definition at line 18 of file Time.class.php.
| Time::__construct | ( | $ | input | ) |
Definition at line 35 of file Time.class.php.
References setHour(), setMinute(), and setSecond().

| static Time::create | ( | $ | input | ) | [static] |
Definition at line 29 of file Time.class.php.
Referenced by TimeList::stringToTimeList().
| Time::getHour | ( | ) |
Definition at line 95 of file Time.class.php.
| Time::setHour | ( | $ | hour | ) |
Definition at line 103 of file Time.class.php.
References $hour, and Assert::isTrue().
Referenced by __construct().

| Time::getMinute | ( | ) |
Definition at line 119 of file Time.class.php.
| Time::setMinute | ( | $ | minute | ) |
Definition at line 127 of file Time.class.php.
References $minute, and Assert::isTrue().
Referenced by __construct().

| Time::getSecond | ( | ) |
Definition at line 144 of file Time.class.php.
| Time::setSecond | ( | $ | second | ) |
Definition at line 152 of file Time.class.php.
References $second, and Assert::isTrue().
Referenced by __construct().

| Time::toString | ( | $ | delimiter = ':' |
) |
HH:MM.
Definition at line 170 of file Time.class.php.
References doublize().

| Time::toFullString | ( | $ | delimiter = ':' |
) |
HH:MM:SS.
Definition at line 182 of file Time.class.php.
References doublize(), and Stringable::toString().

| Time::toMinutes | ( | ) |
Definition at line 193 of file Time.class.php.
| Time::toSeconds | ( | ) |
| Time::doublize | ( | $ | int | ) | [private] |
Time::$hour = 0 [private] |
Time::$minute = 0 [private] |
Time::$second = 0 [private] |
Time::$string = null [private] |
Definition at line 24 of file Time.class.php.
1.5.4