Constants |
SHORT_DAY |
Day of month, one or two digits, no leading zero. |
LONG_DAY |
Day of month, two digits, with leading zero. |
SHORT_DAY_NAME |
Day of week, abbreviated name. |
LONG_DAY_NAME |
Day of week, full name. |
SHORT_MONTH |
Month of year, one or two digits, no leading zero. |
LONG_MONTH |
Month of year, with leading zero. |
SHORT_MONTH_NAME |
Abbreviated month name. |
LONG_MONTH_NAME |
Full month name. |
SHORT_YEAR |
Year, two digits. |
LONG_YEAR |
Year, four digits. |
SHORT_ERA |
Abbreviated era name, for example, BC or AD. |
LONG_ERA |
Full era name, for example, "Before Christ" or "Anno Dominus". |
SHORT_YEAR_AND_ERA |
Combined short year and era, order depends on locale/calendar. |
LONG_YEAR_AND_ERA |
Combined full year and era, order depends on locale/calendar. |
SHORT_QUARTER |
Short quarter, for example, "Q1" |
LONG_QUARTER |
Long quarter, for example, "1st quarter" |
SHORT_GENITIVE_MONTH_NAME |
Abbreviated possessive genitive case month name.
Since LibreOffice 3.5
|
LONG_GENITIVE_MONTH_NAME |
Full possessive genitive case month name.
Since LibreOffice 3.5
|
NARROW_GENITIVE_MONTH_NAME |
Narrow possessive genitive case month name.
Since LibreOffice 3.5
|
SHORT_PARTITIVE_MONTH_NAME |
Abbreviated partitive case month name.
Since LibreOffice 3.5
|
LONG_PARTITIVE_MONTH_NAME |
Full partitive case month name.
Since LibreOffice 3.5
|
NARROW_PARTITIVE_MONTH_NAME |
Narrow partitive case month name.
Since LibreOffice 3.5
|
NARROW_DAY_NAME |
Day of week, narrow name.
Since LibreOffice 3.5
|
NARROW_MONTH_NAME |
Narrow month name.
Since LibreOffice 3.5
|
Constants' Details |
SHORT_DAY
const long SHORT_DAY = 1;
- Description
- Day of month, one or two digits, no leading zero.
|
|
LONG_DAY
const long LONG_DAY = 2;
- Description
- Day of month, two digits, with leading zero.
|
|
SHORT_DAY_NAME
const long SHORT_DAY_NAME = 3;
- Description
- Day of week, abbreviated name.
|
|
LONG_DAY_NAME
const long LONG_DAY_NAME = 4;
- Description
- Day of week, full name.
|
|
SHORT_MONTH
const long SHORT_MONTH = 5;
- Description
- Month of year, one or two digits, no leading zero.
|
|
LONG_MONTH
const long LONG_MONTH = 6;
- Description
- Month of year, with leading zero.
|
|
SHORT_MONTH_NAME
const long SHORT_MONTH_NAME = 7;
- Description
- Abbreviated month name.
|
|
LONG_MONTH_NAME
const long LONG_MONTH_NAME = 8;
- Description
- Full month name.
|
|
SHORT_YEAR
const long SHORT_YEAR = 9;
- Description
- Year, two digits.
|
|
LONG_YEAR
const long LONG_YEAR = 10;
- Description
- Year, four digits.
|
|
SHORT_ERA
const long SHORT_ERA = 11;
- Description
- Abbreviated era name, for example, BC or AD.
|
|
LONG_ERA
const long LONG_ERA = 12;
- Description
- Full era name, for example, "Before Christ" or "Anno Dominus".
|
|
SHORT_YEAR_AND_ERA
const long SHORT_YEAR_AND_ERA = 13;
- Description
- Combined short year and era, order depends on locale/calendar.
|
|
LONG_YEAR_AND_ERA
const long LONG_YEAR_AND_ERA = 14;
- Description
- Combined full year and era, order depends on locale/calendar.
|
|
SHORT_QUARTER
const long SHORT_QUARTER = 15;
- Description
- Short quarter, for example, "Q1"
|
|
LONG_QUARTER
const long LONG_QUARTER = 16;
- Description
- Long quarter, for example, "1st quarter"
|
|
SHORT_GENITIVE_MONTH_NAME
const long SHORT_GENITIVE_MONTH_NAME = 17;
- Description
- Abbreviated possessive genitive case month name.
Since LibreOffice 3.5
|
|
LONG_GENITIVE_MONTH_NAME
const long LONG_GENITIVE_MONTH_NAME = 18;
- Description
- Full possessive genitive case month name.
Since LibreOffice 3.5
|
|
NARROW_GENITIVE_MONTH_NAME
const long NARROW_GENITIVE_MONTH_NAME = 19;
- Description
- Narrow possessive genitive case month name.
Since LibreOffice 3.5
|
|
SHORT_PARTITIVE_MONTH_NAME
const long SHORT_PARTITIVE_MONTH_NAME = 20;
- Description
- Abbreviated partitive case month name.
Since LibreOffice 3.5
|
|
LONG_PARTITIVE_MONTH_NAME
const long LONG_PARTITIVE_MONTH_NAME = 21;
- Description
- Full partitive case month name.
Since LibreOffice 3.5
|
|
NARROW_PARTITIVE_MONTH_NAME
const long NARROW_PARTITIVE_MONTH_NAME = 22;
- Description
- Narrow partitive case month name.
Since LibreOffice 3.5
|
|
NARROW_DAY_NAME
const long NARROW_DAY_NAME = 23;
- Description
- Day of week, narrow name.
Since LibreOffice 3.5
|
|
NARROW_MONTH_NAME
const long NARROW_MONTH_NAME = 24;
- Description
- Narrow month name.
Since LibreOffice 3.5
|
|
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.