Routing API Developer's Guide

xs:duration

The lexical representation for duration is the ISO 8601 extended format:

"-"? + "P" + (nY + "Y")?
 + (nM + "M" )? + (nD + "D" )?
 + ("T" (nH + "H")?
 + (nM + "M")? + (nS + "S")?)?
Syntax Description
"-" Optional minus sign to represent negative durations. If the sign is omitted a positive duration is indicated.
nY represents the number of years. Must be an unsigned integer.
nM represents the number of months. Must be an unsigned integer.
nD represents the number of days. Must be an unsigned integer.
nH represents the number of hours. Must be an unsigned integer.
nM represents the number of minutes. Must be an unsigned integer.
nS represents the number of seconds, which can include decimal digits represent fractions of seconds.

Duration Example

P1Y2M3DT10H30M indicates a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes.

-P120D indicates a duration of minus 120 days.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.