Property | Type | Description | |
---|---|---|---|
$arrival | string | The arrival time to the checkpoint (e.g. 14:58:00). | |
$arrivalTimestamp | integer | ||
$delay | integer | ||
$departure | string | The departure time from the checkpoint, can be null. | |
$departureTimestamp | integer | ||
$location | |||
$platform | string | The arrival/departure platform (e.g. 8). | |
$prognosis | The checkpoint prognosis. | ||
$realtimeAvailability | string | ||
$station | Transport\Entity\Location\Station | A location object showing this line's stop at the requested station. |
Method | Description | |
---|---|---|
__construct ( ) | ||
calculateDateTime ( string $time, DateTime $referenceDate, $stopPrognosis = null ) : DateTime | Calculates a datetime by parsing the time and date given. | |
createFromXml ( SimpleXMLElement $xml, DateTime $date, |
public static calculateDateTime ( string $time, DateTime $referenceDate, $stopPrognosis = null ) : DateTime | ||
$time | string | The time to parse, can contain an optional offset prefix (e.g., "02d") |
$referenceDate | DateTime | The date |
return | DateTime | The parsed time in ISO format |
public static createFromXml ( SimpleXMLElement $xml, DateTime $date, |
||
$xml | SimpleXMLElement | |
$date | DateTime | |
$obj |
public string $arrival | ||
return | string |
public string $departure | ||
return | string |
public Location,Transport\Entity\Location $location | ||
return |
public string $platform | ||
return | string |
public Prognosis,Transport\Entity\Schedule $prognosis | ||
return |