summaryrefslogtreecommitdiffstats
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-10-04 14:33:29 +0200
committerEike Rathke <erack@redhat.com>2017-10-04 22:50:36 +0200
commit7901ede8a63f41aea707bd19c22f834253161378 (patch)
tree1b72a728d10b0b95b71d79401cf8611e41d90ed1 /include/i18nlangtag
parentIt's called 'DirectWrite', one word (diff)
downloadcore-7901ede8a63f41aea707bd19c22f834253161378.tar.gz
core-7901ede8a63f41aea707bd19c22f834253161378.zip
Add 0xF400 and 0xF800 constants for number format code modifiers, tdf#102075
Change-Id: Ic379135f2d12023b1d50d70e72b640e2380483b7
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/lang.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index b2c313094adb..c83bd82e041e 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -478,6 +478,14 @@ namespace o3tl
*! LANGUAGE_SYSTEM and then to effective system language */
#define LANGUAGE_PROCESS_OR_USER_DEFAULT LanguageType(0x0400)
+/* Number format code modifier attribute for system time.
+ * Primary language 0x000, sublanguage 0x3D. */
+#define LANGUAGE_NF_SYSTEM_TIME LanguageType(0xF400)
+
+/* Number format code modifier attribute for system date.
+ * Primary language 0x000, sublanguage 0x3E. */
+#define LANGUAGE_NF_SYSTEM_DATE LanguageType(0xF800)
+
/* And now the extensions we define,
* with primary language IDs from 0x200 to 0x3FF valid in blocks from