Fixed Ranges of 3, 6 and 12 months

Navigation:  Tokens > MiniCalendar Tokens > MiniCalendar Modifiers >

Fixed Ranges of 3, 6 and 12 months

Previous pageReturn to chapter overviewNext page

The fixed range minicalendar modifier :mod3, :mod6 and :mod12 allow you to restrict the range of absolute minicalendars so that you can display a fixed range of months, but a fixed range that depends on the date of the minicalendar token.

 

Concretely, here is the behaviour that you can expect from minicalendars to which you have added a fixed range modifier:

 

Modifier

Allowed Combinations

Behaviour

:mod3

[mc001:mod3]

to

[mc003:mod3]

The :mod3 modifier will restrict the months being displayed to the current quarter (ie. Jan-Mar or Apr-Jun or Jul-Sep or Oct-Dec), with 001 showing the first month of the quarter (Jan or Apr or Jul or Oct), 002 showing the second month of the quarter (Feb or May or Aug or Nov), and 003 showing the last month of the quarter (Mar or Jun or Sep or Dec).

 

So, for example, for the token [4mc001:mod3], if the date of DayValue 4 is in January, then this minicalendar will show the first month of the current quarter; January. If the date of DayValue 4 is in December, then this minicalendar will show the first month of the current quarter; October.

 

:mod6

[mc001:mod6]

to

[mc006:mod6]

The :mod6 modifier will restrict the months being displayed to the current semester (ie. January-June or July-December). The months obtained from the 001-006 markers follow the same pattern as that used for the :mod3 modifier, except that the fixed range is now a semester, rather than a quarter.

 

:mod12

[mc001:mod12]

to

[mc012:mod12]

The :mod12 modifier behaves slightly differently from the above 2 cases. As can be expected from the fact that it ranges over 12 months, this modifier always shows all 12 months of the year, regardless of the current date.

 

The minicalendars with the markers from 001 to 006 will show the months of January to June, if the date of the minicalendar DayValue is in the range from January to June. If the date of the minicalendar DayValue is in the range from July to December, then these same minicalendars will show the months of July to December.

 

The minicalendars with the markers from 007 to 012 will show the months of July to December, if the date of the minicalendar DayValue is in the range from January to June. If the date of the minicalendar DayValue is in the range from July to December, then these same minicalendars will show the months of January to June of the following year.

 

The :mod12 modifier is often used to show 6 months on the left page and 6 months on the right page, with the 6 months of each page always being Jan-Jun or Jul-Dec, depending on the current date.

 

Note that these modifiers only work with absolute minicalendars, using the allowed combinations specified above.


Topic 178170 updated on 16-Apr-2006.
Topic URL: http://www.qppstudio.net/webhelp/index.html?3_and_6_month_ranges.htm