Format Specifier Syntax Diagrams

Introduction

There are various places in an Exprodo database system where you want to be able to display a biskit as a text string. In the Bakery, each BiskitDef can be told which property to use for its name. Alternatively, for more complicated requirements, you can use a format specifier. Its syntax is defined by the diagrams on this page.

Calpendo also lets you provide a format specifier to control the content of the body of a booking on the calendar, the title bar of a booking on the calendar, and the content of a booking on the month view.

Examples

format-specifier

text-without-percent

This is any text that does not include the percent character (%).

non-date-property-format

marker

This is any single character apart from the percent character (%) and colon (:). Choose one that won't appear in before-value-text or after-value-text.

Note that marker appears twice. You must use the same character each time.

before-value-text

This is any text that doesn't include percent character (%), colon (:) or the character defined as the marker. This text will appear in the output immediately before the property value, as long as the property value is not null.

after-value-text

This is any text that doesn't include percent character (%), colon (:) or the character defined as the marker. This text will appear in the output immediately after the property value, as long as the property value is not null.

null-value-string

This is any text that doesn't include percent character (%). It will appear whenever the property value is null.

date-property-format

The ?date is optional and has no impact on the output for a date-valued property.

date-time-property-format

If you include the date specifier, then the output will show the date portion only. If you include the time specifier, then the output will show the time portion only.

property-path

property-name

digit

All diagrams have been created using Tab Atkins Railroad Diagrams library.