LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Variables
com::sun::star::i18n::CalendarDisplayCode Constant Group Referencepublished

Constants to use with XExtendedCalendar::getDisplayString(). More...

Variables

const long SHORT_DAY = 1
 Day of month, one or two digits, no leading zero. More...
 
const long LONG_DAY = 2
 Day of month, two digits, with leading zero. More...
 
const long SHORT_DAY_NAME = 3
 Day of week, abbreviated name. More...
 
const long LONG_DAY_NAME = 4
 Day of week, full name. More...
 
const long SHORT_MONTH = 5
 Month of year, one or two digits, no leading zero. More...
 
const long LONG_MONTH = 6
 Month of year, with leading zero. More...
 
const long SHORT_MONTH_NAME = 7
 Abbreviated month name. More...
 
const long LONG_MONTH_NAME = 8
 Full month name. More...
 
const long SHORT_YEAR = 9
 Year, two digits. More...
 
const long LONG_YEAR = 10
 Year, four digits. More...
 
const long SHORT_ERA = 11
 Abbreviated era name, for example, BC or AD. More...
 
const long LONG_ERA = 12
 Full era name, for example, "Before Christ" or "Anno Dominus". More...
 
const long SHORT_YEAR_AND_ERA = 13
 Combined short year and era, order depends on locale/calendar. More...
 
const long LONG_YEAR_AND_ERA = 14
 Combined full year and era, order depends on locale/calendar. More...
 
const long SHORT_QUARTER = 15
 Short quarter, for example, "Q1". More...
 
const long LONG_QUARTER = 16
 Long quarter, for example, "1st quarter". More...
 
const long SHORT_GENITIVE_MONTH_NAME = 17
 Abbreviated possessive genitive case month name. More...
 
const long LONG_GENITIVE_MONTH_NAME = 18
 Full possessive genitive case month name. More...
 
const long NARROW_GENITIVE_MONTH_NAME = 19
 Narrow possessive genitive case month name. More...
 
const long SHORT_PARTITIVE_MONTH_NAME = 20
 Abbreviated partitive case month name. More...
 
const long LONG_PARTITIVE_MONTH_NAME = 21
 Full partitive case month name. More...
 
const long NARROW_PARTITIVE_MONTH_NAME = 22
 Narrow partitive case month name. More...
 
const long NARROW_DAY_NAME = 23
 Day of week, narrow name. More...
 
const long NARROW_MONTH_NAME = 24
 Narrow month name. More...
 

Detailed Description

Constants to use with XExtendedCalendar::getDisplayString().

The examples given are for an English Gregorian calendar, note that other calendars or locales may return completely different strings, for example not a four digit year but a CJK name instead.

Since
OOo 1.1.2

Variable Documentation

const long LONG_DAY = 2

Day of month, two digits, with leading zero.

const long LONG_DAY_NAME = 4

Day of week, full name.

const long LONG_ERA = 12

Full era name, for example, "Before Christ" or "Anno Dominus".

const long LONG_GENITIVE_MONTH_NAME = 18

Full possessive genitive case month name.

Since
LibreOffice 3.5
const long LONG_MONTH = 6

Month of year, with leading zero.

const long LONG_MONTH_NAME = 8

Full month name.

const long LONG_PARTITIVE_MONTH_NAME = 21

Full partitive case month name.

Since
LibreOffice 3.5
const long LONG_QUARTER = 16

Long quarter, for example, "1st quarter".

const long LONG_YEAR = 10

Year, four digits.

const long LONG_YEAR_AND_ERA = 14

Combined full year and era, order depends on locale/calendar.

const long NARROW_DAY_NAME = 23

Day of week, narrow name.

Since
LibreOffice 3.5
const long NARROW_GENITIVE_MONTH_NAME = 19

Narrow possessive genitive case month name.

Since
LibreOffice 3.5
const long NARROW_MONTH_NAME = 24

Narrow month name.

Since
LibreOffice 3.5
const long NARROW_PARTITIVE_MONTH_NAME = 22

Narrow partitive case month name.

Since
LibreOffice 3.5
const long SHORT_DAY = 1

Day of month, one or two digits, no leading zero.

const long SHORT_DAY_NAME = 3

Day of week, abbreviated name.

const long SHORT_ERA = 11

Abbreviated era name, for example, BC or AD.

const long SHORT_GENITIVE_MONTH_NAME = 17

Abbreviated possessive genitive case month name.

Since
LibreOffice 3.5
const long SHORT_MONTH = 5

Month of year, one or two digits, no leading zero.

const long SHORT_MONTH_NAME = 7

Abbreviated month name.

const long SHORT_PARTITIVE_MONTH_NAME = 20

Abbreviated partitive case month name.

Since
LibreOffice 3.5
const long SHORT_QUARTER = 15

Short quarter, for example, "Q1".

const long SHORT_YEAR = 9

Year, two digits.

const long SHORT_YEAR_AND_ERA = 13

Combined short year and era, order depends on locale/calendar.