ClockFormat

Since: BlackBerry 10.2.0

#include <bb/utility/i18n/ClockFormat>

To link against this class, add the following line to your .pro file: LIBS += -lbbutilityi18n

A wrapper for a list of supported date/time formats.

This class offers an enum that represents various options for specifying the clock format.


Overview

Public Types Index

Public Types

Type

The list of supported clock formats.

Since:

BlackBerry 10.2.0

ApplyUserFormat = 1

Instructs the formatter to grab the user selected value from the device.

Since:

BlackBerry 10.2.0

ApplyLocaleFormat = 2

Instructs the formatter to grab the default format from the current locale.

Since:

BlackBerry 10.2.0

Use12hourClock = 12

12 hour clock format with am/pm marker.

This represents formats like "4:23 PM".

Since:

BlackBerry 10.2.0

Use24hourClock = 24

24 hour clock format.

This represents formats like "16:23".

Since:

BlackBerry 10.2.0

Last modified: 2014-03-13

comments powered by Disqus