Time
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- fromThrift() : self
- isAdjustedToUTC() : bool
- micros() : bool
- millis() : bool
- nanos() : bool
- unit() : TimeUnit
Methods
__construct()
public
__construct(bool $isAdjustedToUTC, TimeUnit $unit) : mixed
Parameters
- $isAdjustedToUTC : bool
- $unit : TimeUnit
fromThrift()
public
static fromThrift(TimeType $time) : self
Parameters
- $time : TimeType
Return values
selfisAdjustedToUTC()
public
isAdjustedToUTC() : bool
Return values
boolmicros()
public
micros() : bool
Return values
boolmillis()
public
millis() : bool
Return values
boolnanos()
public
nanos() : bool
Return values
boolunit()
public
unit() : TimeUnit