Method |
Description |
|
__construct ( string $time = '' ) |
Pass the time in I8 format, which is represented in intervals of -100 nanoseconds. |
|
__toString ( ) : string |
|
|
getDays ( ) : integer |
Get the days specified for the time span. |
|
getHours ( ) : integer |
Get the hours specified for the time span. |
|
getInstance ( integer $value, string $unit ) |
Get an instance of the class based on a specific time unit as the second parameter. |
|
getLdapValue ( ) : string |
Get the value of all the time units in the format that LDAP expects it in. |
|
getMinutes ( ) : integer |
Get the minutes specified for the time span. |
|
getNever ( ) : boolean |
Whether the time span value is considered 'Never'. This is a special value in AD that makes the time span
indefinite and is represented by a value of -9223372036854775808. |
|
getSeconds ( ) : integer |
Get the seconds specified for the time span. |
|
setDays ( integer $days ) |
Set the days specified for the time span. |
|
setHours ( integer $hours ) |
Set the hours specified for the time span. |
|
setMinutes ( integer $minutes ) |
Set the minutes specified for the time span. |
|
setNever ( boolean $value ) |
|
|
setSeconds ( integer $seconds ) |
Set the seconds specified for the time span. |
|