HERE Fuel Prices API
Fuel Prices API Developer's Guide


OpeningHoursDetailType defines the opening hours for each day of week, and supports several time periods per day.

Table 1. OpeningHoursDetailType elements
Element Data Type Mandatory Description
daymask Integer No A mask representing the days of the week as an 8-bit integer mask.

The following values indicate days of the week:

  • 1Sunday
  • 2Monday
  • 4Tuesday
  • 8Wednesday
  • 16Thursday
  • 32Friday
  • 64Saturday

Combinations of days can be derived by adding the values together. For example: 62 equals Monday, Tuesday, Wednesday, Thursday, Friday (2+4+8+16+32). and 127 equals Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday (1+2+4+8+16+32+64).

period TimePeriodType No Opening time period