LittleDemon WebShell


Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
Path : /opt/alt/alt-nodejs24/root/usr/share/doc/alt-nodejs24-libicu-doc/
File Upload :
Command :
Current File : //opt/alt/alt-nodejs24/root/usr/share/doc/alt-nodejs24-libicu-doc/classFormattedDateInterval.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: icu::FormattedDateInterval Class 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
   &#160;<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&amp;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&amp;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="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">icu::FormattedDateInterval Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An immutable class containing the result of a date interval formatting operation.  
 <a href="classicu_1_1FormattedDateInterval.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dtitvfmt_8h_source.html">dtitvfmt.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for icu::FormattedDateInterval:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1FormattedDateInterval.png" usemap="#icu::FormattedDateInterval_map" alt=""/>
  <map id="icu::FormattedDateInterval_map" name="icu::FormattedDateInterval_map">
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class." alt="icu::UMemory" shape="rect" coords="0,0,159,24"/>
<area href="classicu_1_1FormattedValue.html" title="An abstract formatted value: a string with associated field attributes." alt="icu::FormattedValue" shape="rect" coords="169,0,328,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8baacc920ed724fd1c032e2ec2e52576"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a8baacc920ed724fd1c032e2ec2e52576">FormattedDateInterval</a> ()</td></tr>
<tr class="memdesc:a8baacc920ed724fd1c032e2ec2e52576"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor; makes an empty <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a>.  <a href="classicu_1_1FormattedDateInterval.html#a8baacc920ed724fd1c032e2ec2e52576">More...</a><br /></td></tr>
<tr class="separator:a8baacc920ed724fd1c032e2ec2e52576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ccc8c09d0cab24eeb774b8798da804"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#af1ccc8c09d0cab24eeb774b8798da804">FormattedDateInterval</a> (<a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;&amp;src) noexcept</td></tr>
<tr class="memdesc:af1ccc8c09d0cab24eeb774b8798da804"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor: Leaves the source <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a> in an undefined state.  <a href="classicu_1_1FormattedDateInterval.html#af1ccc8c09d0cab24eeb774b8798da804">More...</a><br /></td></tr>
<tr class="separator:af1ccc8c09d0cab24eeb774b8798da804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a874cda02ee31b9a64229e4749659c216"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a874cda02ee31b9a64229e4749659c216">~FormattedDateInterval</a> () override</td></tr>
<tr class="memdesc:a874cda02ee31b9a64229e4749659c216"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destruct an instance of <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a>.  <a href="classicu_1_1FormattedDateInterval.html#a874cda02ee31b9a64229e4749659c216">More...</a><br /></td></tr>
<tr class="separator:a874cda02ee31b9a64229e4749659c216"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e014a91f4b9e72386f25a6e2b85f77c"><td class="memItemLeft" align="right" valign="top"><a id="a5e014a91f4b9e72386f25a6e2b85f77c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a5e014a91f4b9e72386f25a6e2b85f77c">FormattedDateInterval</a> (const <a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;)=delete</td></tr>
<tr class="memdesc:a5e014a91f4b9e72386f25a6e2b85f77c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copying not supported; use move constructor instead. <br /></td></tr>
<tr class="separator:a5e014a91f4b9e72386f25a6e2b85f77c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fcb2fcea68fc0880590a3b385d5c38d"><td class="memItemLeft" align="right" valign="top"><a id="a9fcb2fcea68fc0880590a3b385d5c38d"></a>
<a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a9fcb2fcea68fc0880590a3b385d5c38d">operator=</a> (const <a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;)=delete</td></tr>
<tr class="memdesc:a9fcb2fcea68fc0880590a3b385d5c38d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copying not supported; use move assignment instead. <br /></td></tr>
<tr class="separator:a9fcb2fcea68fc0880590a3b385d5c38d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47f4a491e3760d6eefbb6482075c4b93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a47f4a491e3760d6eefbb6482075c4b93">operator=</a> (<a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;&amp;src) noexcept</td></tr>
<tr class="memdesc:a47f4a491e3760d6eefbb6482075c4b93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment: Leaves the source <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a> in an undefined state.  <a href="classicu_1_1FormattedDateInterval.html#a47f4a491e3760d6eefbb6482075c4b93">More...</a><br /></td></tr>
<tr class="separator:a47f4a491e3760d6eefbb6482075c4b93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96eff2050d3ae24f25d67d401bb1ab5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a96eff2050d3ae24f25d67d401bb1ab5d">toString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:a96eff2050d3ae24f25d67d401bb1ab5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the formatted string as a self-contained <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>.  <a href="classicu_1_1FormattedDateInterval.html#a96eff2050d3ae24f25d67d401bb1ab5d">More...</a><br /></td></tr>
<tr class="separator:a96eff2050d3ae24f25d67d401bb1ab5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d3de27818188b916756ccc9161e558a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a9d3de27818188b916756ccc9161e558a">toTempString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:a9d3de27818188b916756ccc9161e558a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the formatted string as a read-only alias to memory owned by the <a class="el" href="classicu_1_1FormattedValue.html" title="An abstract formatted value: a string with associated field attributes.">FormattedValue</a>.  <a href="classicu_1_1FormattedDateInterval.html#a9d3de27818188b916756ccc9161e558a">More...</a><br /></td></tr>
<tr class="separator:a9d3de27818188b916756ccc9161e558a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a646c13dff31213b0e16cebf0d0492434"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Appendable.html">Appendable</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a646c13dff31213b0e16cebf0d0492434">appendTo</a> (<a class="el" href="classicu_1_1Appendable.html">Appendable</a> &amp;appendable, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:a646c13dff31213b0e16cebf0d0492434"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the formatted string to an <a class="el" href="classicu_1_1Appendable.html" title="Base class for objects to which Unicode characters and strings can be appended.">Appendable</a>.  <a href="classicu_1_1FormattedDateInterval.html#a646c13dff31213b0e16cebf0d0492434">More...</a><br /></td></tr>
<tr class="separator:a646c13dff31213b0e16cebf0d0492434"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66bd7e41781367d0c6280036cfc4fcbc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedDateInterval.html#a66bd7e41781367d0c6280036cfc4fcbc">nextPosition</a> (<a class="el" href="classicu_1_1ConstrainedFieldPosition.html">ConstrainedFieldPosition</a> &amp;cfpos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const override</td></tr>
<tr class="memdesc:a66bd7e41781367d0c6280036cfc4fcbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterates over field positions in the <a class="el" href="classicu_1_1FormattedValue.html" title="An abstract formatted value: a string with associated field attributes.">FormattedValue</a>.  <a href="classicu_1_1FormattedDateInterval.html#a66bd7e41781367d0c6280036cfc4fcbc">More...</a><br /></td></tr>
<tr class="separator:a66bd7e41781367d0c6280036cfc4fcbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1FormattedValue"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1FormattedValue')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1FormattedValue.html">icu::FormattedValue</a></td></tr>
<tr class="memitem:adb5a88697d2c271940ef68419f12cfea inherit pub_methods_classicu_1_1FormattedValue"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1FormattedValue.html#adb5a88697d2c271940ef68419f12cfea">~FormattedValue</a> ()</td></tr>
<tr class="separator:adb5a88697d2c271940ef68419f12cfea inherit pub_methods_classicu_1_1FormattedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a9acb9821e8fddc1337e8f91705b002e2"><td class="memItemLeft" align="right" valign="top"><a id="a9acb9821e8fddc1337e8f91705b002e2"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>DateIntervalFormat</b></td></tr>
<tr class="separator:a9acb9821e8fddc1337e8f91705b002e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An immutable class containing the result of a date interval formatting operation. </p>
<p>Instances of this class are immutable and thread-safe.</p>
<p>When calling <a class="el" href="classicu_1_1FormattedDateInterval.html#a66bd7e41781367d0c6280036cfc4fcbc" title="Iterates over field positions in the FormattedValue.">nextPosition()</a>: The fields are returned from left to right. The special field category UFIELD_CATEGORY_DATE_INTERVAL_SPAN is used to indicate which datetime primitives came from which arguments: 0 means fromCalendar, and 1 means toCalendar. The span category will always occur before the corresponding fields in UFIELD_CATEGORY_DATE in the <a class="el" href="classicu_1_1FormattedDateInterval.html#a66bd7e41781367d0c6280036cfc4fcbc" title="Iterates over field positions in the FormattedValue.">nextPosition()</a> iterator.</p>
<p>Not intended for public subclassing.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004073">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

<p class="definition">Definition at line <a class="el" href="dtitvfmt_8h_source.html#l00059">59</a> of file <a class="el" href="dtitvfmt_8h_source.html">dtitvfmt.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8baacc920ed724fd1c032e2ec2e52576"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8baacc920ed724fd1c032e2ec2e52576">&#9670;&nbsp;</a></span>FormattedDateInterval() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::FormattedDateInterval::FormattedDateInterval </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor; makes an empty <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a>. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004074">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

<p class="definition">Definition at line <a class="el" href="dtitvfmt_8h_source.html#l00065">65</a> of file <a class="el" href="dtitvfmt_8h_source.html">dtitvfmt.h</a>.</p>

</div>
</div>
<a id="af1ccc8c09d0cab24eeb774b8798da804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1ccc8c09d0cab24eeb774b8798da804">&#9670;&nbsp;</a></span>FormattedDateInterval() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::FormattedDateInterval::FormattedDateInterval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move constructor: Leaves the source <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a> in an undefined state. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004075">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

</div>
</div>
<a id="a874cda02ee31b9a64229e4749659c216"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a874cda02ee31b9a64229e4749659c216">&#9670;&nbsp;</a></span>~FormattedDateInterval()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::FormattedDateInterval::~FormattedDateInterval </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destruct an instance of <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a>. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004076">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a646c13dff31213b0e16cebf0d0492434"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a646c13dff31213b0e16cebf0d0492434">&#9670;&nbsp;</a></span>appendTo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Appendable.html">Appendable</a>&amp; icu::FormattedDateInterval::appendTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Appendable.html">Appendable</a> &amp;&#160;</td>
          <td class="paramname"><em>appendable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Appends the formatted string to an <a class="el" href="classicu_1_1Appendable.html" title="Base class for objects to which Unicode characters and strings can be appended.">Appendable</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">appendable</td><td>The <a class="el" href="classicu_1_1Appendable.html" title="Base class for objects to which Unicode characters and strings can be appended.">Appendable</a> to which to append the string output. </td></tr>
    <tr><td class="paramname">status</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The same <a class="el" href="classicu_1_1Appendable.html" title="Base class for objects to which Unicode characters and strings can be appended.">Appendable</a>, for chaining.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004296">Stable:</a></b></dt><dd>ICU 64 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Appendable.html" title="Base class for objects to which Unicode characters and strings can be appended.">Appendable</a> </dd></dl>

<p>Implements <a class="el" href="classicu_1_1FormattedValue.html#adf0972bb328adad06a251136ad154471">icu::FormattedValue</a>.</p>

</div>
</div>
<a id="a66bd7e41781367d0c6280036cfc4fcbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66bd7e41781367d0c6280036cfc4fcbc">&#9670;&nbsp;</a></span>nextPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::FormattedDateInterval::nextPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1ConstrainedFieldPosition.html">ConstrainedFieldPosition</a> &amp;&#160;</td>
          <td class="paramname"><em>cfpos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Iterates over field positions in the <a class="el" href="classicu_1_1FormattedValue.html" title="An abstract formatted value: a string with associated field attributes.">FormattedValue</a>. </p>
<p>This lets you determine the position of specific types of substrings, like a month or a decimal separator.</p>
<p>To loop over all field positions: </p><pre class="fragment">ConstrainedFieldPosition cfpos;
while (fmtval.nextPosition(cfpos, status)) {
    // handle the field position; get information from cfpos
}
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cfpos</td><td>The object used for iteration state. This can provide constraints to iterate over only one specific category or field; see <a class="el" href="classicu_1_1ConstrainedFieldPosition.html#a4813682fb0f5aca0438209a780831511" title="Sets a constraint on the field category.">ConstrainedFieldPosition::constrainCategory</a> and <a class="el" href="classicu_1_1ConstrainedFieldPosition.html#a36525bf694e70c4578e20309588a4847" title="Sets a constraint on the category and field.">ConstrainedFieldPosition::constrainField</a>. </td></tr>
    <tr><td class="paramname">status</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if a new occurrence of the field was found; false otherwise or if an error was set.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004297">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1FormattedValue.html#a3c15a47c141a9631c4db7b4bb0251395">icu::FormattedValue</a>.</p>

</div>
</div>
<a id="a47f4a491e3760d6eefbb6482075c4b93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47f4a491e3760d6eefbb6482075c4b93">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a>&amp; icu::FormattedDateInterval::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1FormattedDateInterval.html">FormattedDateInterval</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move assignment: Leaves the source <a class="el" href="classicu_1_1FormattedDateInterval.html" title="An immutable class containing the result of a date interval formatting operation.">FormattedDateInterval</a> in an undefined state. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004077">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

</div>
</div>
<a id="a96eff2050d3ae24f25d67d401bb1ab5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96eff2050d3ae24f25d67d401bb1ab5d">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::FormattedDateInterval::toString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the formatted string as a self-contained <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. </p>
<p>If you need the string within the current scope only, consider <a class="el" href="classicu_1_1FormattedDateInterval.html#a9d3de27818188b916756ccc9161e558a" title="Returns the formatted string as a read-only alias to memory owned by the FormattedValue.">toTempString</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> containing the formatted string.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004294">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1FormattedValue.html#ab65eae49614210cde61f68e0543993c3">icu::FormattedValue</a>.</p>

</div>
</div>
<a id="a9d3de27818188b916756ccc9161e558a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d3de27818188b916756ccc9161e558a">&#9670;&nbsp;</a></span>toTempString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> icu::FormattedDateInterval::toTempString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the formatted string as a read-only alias to memory owned by the <a class="el" href="classicu_1_1FormattedValue.html" title="An abstract formatted value: a string with associated field attributes.">FormattedValue</a>. </p>
<p>The return value is valid only as long as this <a class="el" href="classicu_1_1FormattedValue.html" title="An abstract formatted value: a string with associated field attributes.">FormattedValue</a> is present and unchanged in memory. If you need the string outside the current scope, consider <a class="el" href="classicu_1_1FormattedDateInterval.html#a96eff2050d3ae24f25d67d401bb1ab5d" title="Returns the formatted string as a self-contained UnicodeString.">toString</a>.</p>
<p>The buffer returned by calling <a class="el" href="classicu_1_1UnicodeString.html#ae9ea82f86d91d9d978befb155cbec3cf" title="Get a read/write pointer to the internal buffer.">UnicodeString::getBuffer()</a> on the return value is guaranteed to be NUL-terminated.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a temporary <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> containing the formatted string.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004295">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

<p>Implements <a class="el" href="classicu_1_1FormattedValue.html#ac79bc980f05406a36565e38268cc5470">icu::FormattedValue</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>i18n/unicode/<a class="el" href="dtitvfmt_8h_source.html">dtitvfmt.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>

LittleDemon - FACEBOOK
[ KELUAR ]