A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/measfmt_8h.html below:

ICU 77.1: i18n/unicode/measfmt.h File Reference

C++ API: Compatibility APIs for measure formatting.

Definition in file measfmt.h.

Constants for various widths.

There are 4 widths: Wide, Short, Narrow, Numeric. For example, for English, when formatting "3 hours" Wide is "3 hours"; short is "3 hrs"; narrow is "3h"; formatting "3 hours 17 minutes" as numeric give "3:17"

Stable:
ICU 53
Enumerator UMEASFMT_WIDTH_WIDE 

Spell out measure units.

Stable:
ICU 53
UMEASFMT_WIDTH_SHORT 

Abbreviate measure units.

Stable:
ICU 53
UMEASFMT_WIDTH_NARROW 

Use symbols for measure units when possible.

Stable:
ICU 53
UMEASFMT_WIDTH_NUMERIC 

Completely omit measure units when possible.

For example, format '5 hours, 37 minutes' as '5:37'

Stable:
ICU 53
UMEASFMT_WIDTH_COUNT 

One more than the highest normal UMeasureFormatWidth value.

Deprecated:
ICU 58 The numeric value may change over time, see ICU ticket #12420.

Definition at line 38 of file measfmt.h.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4