File: //opt/alt/alt-nodejs24/root/usr/share/doc/alt-nodejs24-libicu-doc/tmutfmt_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 77.1: i18n/unicode/tmutfmt.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ICU 77.1
 <span id="projectnumber">77.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> </div>
<div class="headertitle">
<div class="title">tmutfmt.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>C++ API: Format and parse duration in single time unit.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include "<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>"</code><br />
<code>#include "<a class="el" href="unistr_8h_source.html">unicode/unistr.h</a>"</code><br />
<code>#include "<a class="el" href="tmunit_8h_source.html">unicode/tmunit.h</a>"</code><br />
<code>#include "<a class="el" href="tmutamt_8h_source.html">unicode/tmutamt.h</a>"</code><br />
<code>#include "<a class="el" href="measfmt_8h_source.html">unicode/measfmt.h</a>"</code><br />
<code>#include "<a class="el" href="numfmt_8h_source.html">unicode/numfmt.h</a>"</code><br />
<code>#include "<a class="el" href="plurrule_8h_source.html">unicode/plurrule.h</a>"</code><br />
</div>
<p><a href="tmutfmt_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1TimeUnitFormat.html">icu::TimeUnitFormat</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classicu_1_1Format.html" title="Base class for all formats.">Format</a> or parse a <a class="el" href="classicu_1_1TimeUnitAmount.html" title="Express a duration as a time unit and number.">TimeUnitAmount</a>, using plural rules for the units where available. <a href="classicu_1_1TimeUnitFormat.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceicu"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html">icu</a></td></tr>
<tr class="memdesc:namespaceicu"><td class="mdescLeft"> </td><td class="mdescRight">File <a class="el" href="coll_8h.html" title="C++ API: Collation Service.">coll.h</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a082436426d89a0c7fc83ca94e1e11fb2"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3f">UTimeUnitFormatStyle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="tmutfmt_8h.html#a082436426d89a0c7fc83ca94e1e11fb2">UTimeUnitFormatStyle</a></td></tr>
<tr class="separator:a082436426d89a0c7fc83ca94e1e11fb2"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ace3ab3a9adff9b70f2e8f153e0f18e3f"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3f">UTimeUnitFormatStyle</a> { <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3fae9da691edeb42d9fd00f872c5aec0cd4">UTMUTFMT_FULL_STYLE</a>
, <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3fa1de2b8fbe4639aecc8b19ec5b7837a20">UTMUTFMT_ABBREVIATED_STYLE</a>
, <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3facb2233346493c90d46d57b2f086b74cb">UTMUTFMT_FORMAT_STYLE_COUNT</a>
}</td></tr>
<tr class="memdesc:ace3ab3a9adff9b70f2e8f153e0f18e3f"><td class="mdescLeft"> </td><td class="mdescRight">Constants for various styles. <a href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3f">More...</a><br /></td></tr>
<tr class="separator:ace3ab3a9adff9b70f2e8f153e0f18e3f"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C++ API: Format and parse duration in single time unit. </p>
<p class="definition">Definition in file <a class="el" href="tmutfmt_8h_source.html">tmutfmt.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a082436426d89a0c7fc83ca94e1e11fb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a082436426d89a0c7fc83ca94e1e11fb2">◆ </a></span>UTimeUnitFormatStyle</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3f">UTimeUnitFormatStyle</a> <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3f">UTimeUnitFormatStyle</a></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000701">Deprecated:</a></b></dt><dd>ICU 53 </dd></dl>
<p class="definition">Definition at line <a class="el" href="tmutfmt_8h_source.html#l00001">1</a> of file <a class="el" href="tmutfmt_8h_source.html">tmutfmt.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ace3ab3a9adff9b70f2e8f153e0f18e3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace3ab3a9adff9b70f2e8f153e0f18e3f">◆ </a></span>UTimeUnitFormatStyle</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="tmutfmt_8h.html#ace3ab3a9adff9b70f2e8f153e0f18e3f">UTimeUnitFormatStyle</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constants for various styles. </p>
<p>There are 2 styles: full name and abbreviated name. For example, for English, the full name for hour duration is "3 hours", and the abbreviated name is "3 hrs". </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000700">Deprecated:</a></b></dt><dd>ICU 53 Use MeasureFormat and UMeasureFormatWidth instead. </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ace3ab3a9adff9b70f2e8f153e0f18e3fae9da691edeb42d9fd00f872c5aec0cd4"></a>UTMUTFMT_FULL_STYLE </td><td class="fielddoc"><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000702">Deprecated:</a></b></dt><dd>ICU 53 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="ace3ab3a9adff9b70f2e8f153e0f18e3fa1de2b8fbe4639aecc8b19ec5b7837a20"></a>UTMUTFMT_ABBREVIATED_STYLE </td><td class="fielddoc"><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000703">Deprecated:</a></b></dt><dd>ICU 53 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="ace3ab3a9adff9b70f2e8f153e0f18e3facb2233346493c90d46d57b2f086b74cb"></a>UTMUTFMT_FORMAT_STYLE_COUNT </td><td class="fielddoc"><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000704">Deprecated:</a></b></dt><dd>ICU 53 </dd></dl>
</td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="tmutfmt_8h_source.html#l00041">41</a> of file <a class="el" href="tmutfmt_8h_source.html">tmutfmt.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>