8. Global context selector
Time context selectors
This date selector allows the user to select a global time context to work in. When a tool is run, this is the context that will be passed to it when it is opened.
This global context can then be modified on a case-by-case basis for each tool, if necessary, via the specific context selectors for each tool (see the description of the workspace below).
Whether it is the global context selector or those present in each dashboard, the temporal context selectors in METRON ENERGY MANAGEMENT all look like this:


At the top left of the selector there is a drop-down list to select a predefined time context.
These contexts are based on the current date and allow the recovery of yesterday, last week, last year...
This is a quick way to retrieve the most frequently used temporal contexts.
At the top of the selector, there are 4 fields for manually entering the start and end dates and times of the context.
This is the only way to specify the start and end times of the context, as the other methods always round up to the beginning of the selected day.
In the rest of the selector is the calendar, displaying 3 months, and allowing a visual selection of the desired context. The first click on a day of the calendar
defines the beginning of the context, and a second click will define the end of the context.
Note: The days clicked are included in the context in their entirety. Clicking from 7 to 15 February will therefore generate a context from 7 February 00:00 until 16 February 00:00 (end of day of the 15th).
In the calendars, it is possible to click on the month name to select the whole month, and it is also possible to click on the week number (in grey, to the left of each month), to select the whole week.
The symbols < and > on the far left and far right of the calendar months allow you to change the months displayed.
Once a period has been selected, it is possible to move to the next or previous similar period using the Period < and > buttons at the top right of the selector.
If the current period is a week, these buttons will move to the previous/next week. If the current period is a whole month, they will move to the previous/next month. If it is any period of n days, the buttons will move to the previous/next period of n days.