PHP class that encapsulates one end of a date-range

Methods

__construct

( long $precision, mixed $timeMs )
Parameters:
Name Type Details
$precision long

desired precision of this DateRange\Bound; one of the constants from the DateRange\Precision class

$timeMs long|double|string|Dse\Bigint|DateTime

millisecond-precision time

long

precision

( )
Returns:
Type Details
long

precision attribute of this DateRange\Bound

string

timeMs

( )
Returns:
Type Details
string

timeMs attribute of this DateRange\Bound

static DateRange\Bound

unbounded

( )
Static
This method is static
Returns:
Type Details
DateRange\Bound

a DateRange\Bound instance that represents “no bound”. It is used as the virtual end-point of an open-ended range.