1/20/2024 0 Comments Gmt time zone definitionIn xData, when a high-performance routing network is created in combination with a time consideration and a reference time without a UTC offset:.If multiple offsets are detected then an exception is thrown and the distance matrix calculation is aborted totally. The waypoints from the start locations are used to find the missing offset. In xDima, when a distance matrix is calculated in combination with a time consideration and a reference time without a UTC offset:.If no offset at all is given, the tour locations are used to find an offset. If an offset is given at any opening interval of the tour locations or at any operating/break interval of the drivers, the first offset is taken for the tour events in the response. In xTour, when no planning horizon is defined:.The map center and the corner points are used to find the missing offset. In xMap, when a map is requested in combination with a time consideration and a reference time without a UTC offset:.(according the used time consideration scenario) is used to find the missing offset. The first or last waypoint A waypoint is a geographic location used to specify start, destination and possible stopovers for a route. is calculated in combination with a time consideration and a reference time without a UTC offset: The main attributes of a route are the distance and the time that the vehicle travels along the path. In xRoute, when a route A route corresponds to a path of a vehicle through the underlying transport network.Other examples for determination of a missing UTC offset are: The (one and only) location of the tour's site can be used to detect the missing UTC offset. This approach to determine the time zone can be applied generally, also when only one location is available, as in the case of an No inconsistencies arise when this offset is used for the planning horizon. If all detected time zone offsets for the locations are the same, then this offset is applied to the planning horizon:.Since it is not clear which of the offsets to choose for the planning horizon, it is impossible to provide an automatic detection of an offset. If multiple offsets are detected then throw an exception:.If no offset can be detected because all locations lie in an ocean or in a sparsely populated area and no time zone information is available, an exception is thrown. Determine the UTC offset for all locations:įor each location of the request the time zone offset is detected (if none is given in the opening intervals of the location).Since the planning horizon has no location, the other locations of the request are used to determine the UTC offset during the following steps: Planning horizon in an xTour request is used as an example. In the following description the determination of the intended UTC offset for the PTV xServer will automatically assign the UTC offset from the request context Although it is recommended to always specify a time zone, Handling Local TimeĪ point in time without a UTC offset is treated as local time. Several time zones and to assign time-dependent information such as speed patterns correctly. This type does not require the UTC offset to be specified, but we strongly recommend to specify it always, in order to execute operations covering (which is December 24th, 2015 at 12:00 noon with an offset to UTC of +1 hour), related fields have the type XMLGregorianCalendar. In combination with more or less arbitrary regulations concerning daylight saving times, theĭetermination of the UTC offset proves to be quite complex.Ī point in time is always specified by a string in the format T12:00:00+01:00 Quite often the borders of such a time zone correspond Its offset to UTC or Greenwich Mean Time (GMT). The world is partitioned into diverse areas of more or less regular stripes, for which the same local time is used: World map of current time zones | source: wikipediaįor an arbitrary coordinate on Earth the corresponding time zone can be determined. Below the behavior is described in detail.Īccording the Coordinated Universal Time definition, The service tries to determine the time zone by the context of the corresponding functionality. It incorporates a reference time to determine which time-dependent data should be taken into consideration to calculate theįields representing time-specific parameters in the PTV xServer API are expected to contain a UTC offset, mostly due to its uniqueness. Time relevant parameters are used in multiple situations, especially the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |