<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/> <title>ICU 4.8.1.1: DateInterval 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/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </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 style="padding-left: 0.5em;"> <div id="projectname">ICU 4.8.1.1  <span id="projectnumber">4.8.1.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></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><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> </div> <div class="headertitle"> <div class="title">DateInterval Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>This class represents a date interval. <a href="classDateInterval.html#details">More...</a></p> <p><code>#include <<a class="el" href="dtintrv_8h_source.html">dtintrv.h</a>></code></p> <div class="dynheader"> Inheritance diagram for DateInterval:</div> <div class="dyncontent"> <div class="center"> <img src="classDateInterval.png" usemap="#DateInterval_map" alt=""/> <map id="DateInterval_map" name="DateInterval_map"> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class." alt="UObject" shape="rect" coords="0,56,80,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class." alt="UMemory" shape="rect" coords="0,0,80,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a95f560fb4663d65f7a93ad6f5fb2e3a6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#a95f560fb4663d65f7a93ad6f5fb2e3a6">DateInterval</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> fromDate, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> toDate)</td></tr> <tr class="memdesc:a95f560fb4663d65f7a93ad6f5fb2e3a6"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="classDateInterval.html" title="This class represents a date interval.">DateInterval</a> given a from date and a to date. <a href="#a95f560fb4663d65f7a93ad6f5fb2e3a6"></a><br/></td></tr> <tr class="memitem:afc5f7d2222696f0f55ac8b17b3906946"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#afc5f7d2222696f0f55ac8b17b3906946">~DateInterval</a> ()</td></tr> <tr class="memdesc:afc5f7d2222696f0f55ac8b17b3906946"><td class="mdescLeft"> </td><td class="mdescRight">destructor <a href="#afc5f7d2222696f0f55ac8b17b3906946"></a><br/></td></tr> <tr class="memitem:acd09b0653a136835f773241f3ace62e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#acd09b0653a136835f773241f3ace62e3">getFromDate</a> () const </td></tr> <tr class="memdesc:acd09b0653a136835f773241f3ace62e3"><td class="mdescLeft"> </td><td class="mdescRight">Get the from date. <a href="#acd09b0653a136835f773241f3ace62e3"></a><br/></td></tr> <tr class="memitem:a6d582c0226ea90e86b72eb8c4091bccd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#a6d582c0226ea90e86b72eb8c4091bccd">getToDate</a> () const </td></tr> <tr class="memdesc:a6d582c0226ea90e86b72eb8c4091bccd"><td class="mdescLeft"> </td><td class="mdescRight">Get the to date. <a href="#a6d582c0226ea90e86b72eb8c4091bccd"></a><br/></td></tr> <tr class="memitem:af0451132759524cc19d6a4ea9a6bc368"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#af0451132759524cc19d6a4ea9a6bc368">getDynamicClassID</a> (void) const </td></tr> <tr class="memdesc:af0451132759524cc19d6a4ea9a6bc368"><td class="mdescLeft"> </td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY. <a href="#af0451132759524cc19d6a4ea9a6bc368"></a><br/></td></tr> <tr class="memitem:a40bb39fc80d03464916e20077c8b9488"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#a40bb39fc80d03464916e20077c8b9488">DateInterval</a> (const <a class="el" href="classDateInterval.html">DateInterval</a> &other)</td></tr> <tr class="memdesc:a40bb39fc80d03464916e20077c8b9488"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a40bb39fc80d03464916e20077c8b9488"></a><br/></td></tr> <tr class="memitem:ab093e4890ccf777455fa452d47f8eb92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateInterval.html">DateInterval</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#ab093e4890ccf777455fa452d47f8eb92">operator=</a> (const <a class="el" href="classDateInterval.html">DateInterval</a> &)</td></tr> <tr class="memdesc:ab093e4890ccf777455fa452d47f8eb92"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="#ab093e4890ccf777455fa452d47f8eb92"></a><br/></td></tr> <tr class="memitem:a5038d28120a5739aec8159765e6d22b9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#a5038d28120a5739aec8159765e6d22b9">operator==</a> (const <a class="el" href="classDateInterval.html">DateInterval</a> &other) const </td></tr> <tr class="memdesc:a5038d28120a5739aec8159765e6d22b9"><td class="mdescLeft"> </td><td class="mdescRight">Equality operator. <a href="#a5038d28120a5739aec8159765e6d22b9"></a><br/></td></tr> <tr class="memitem:ac3bbfac6b8a7ff182a3e346dc4cbbcd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#ac3bbfac6b8a7ff182a3e346dc4cbbcd1">operator!=</a> (const <a class="el" href="classDateInterval.html">DateInterval</a> &other) const </td></tr> <tr class="memdesc:ac3bbfac6b8a7ff182a3e346dc4cbbcd1"><td class="mdescLeft"> </td><td class="mdescRight">Non-equality operator. <a href="#ac3bbfac6b8a7ff182a3e346dc4cbbcd1"></a><br/></td></tr> <tr class="memitem:a728fa9393e8fbca88275ff6387425bc4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDateInterval.html">DateInterval</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#a728fa9393e8fbca88275ff6387425bc4">clone</a> () const </td></tr> <tr class="memdesc:a728fa9393e8fbca88275ff6387425bc4"><td class="mdescLeft"> </td><td class="mdescRight">clone this object. <a href="#a728fa9393e8fbca88275ff6387425bc4"></a><br/></td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr> <tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr> <tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ace22cf29a90641ef43350deae5bedb85"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a4ac929b85374fb21615211eb620794cf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDateInterval.html#a4ac929b85374fb21615211eb620794cf">getStaticClassID</a> (void)</td></tr> <tr class="memdesc:a4ac929b85374fb21615211eb620794cf"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a4ac929b85374fb21615211eb620794cf"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This class represents a date interval. </p> <p>It is a pair of UDate representing from UDate 1 to UDate 2. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000107">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> <p>Definition at line <a class="el" href="dtintrv_8h_source.html#l00032">32</a> of file <a class="el" href="dtintrv_8h_source.html">dtintrv.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a95f560fb4663d65f7a93ad6f5fb2e3a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DateInterval::DateInterval </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>fromDate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td> <td class="paramname"><em>toDate</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Construct a <a class="el" href="classDateInterval.html" title="This class represents a date interval.">DateInterval</a> given a from date and a to date. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">fromDate</td><td>The from date in date interval. </td></tr> <tr><td class="paramname">toDate</td><td>The to date in date interval. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000108">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="afc5f7d2222696f0f55ac8b17b3906946"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual DateInterval::~DateInterval </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>destructor </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000109">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a40bb39fc80d03464916e20077c8b9488"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">DateInterval::DateInterval </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDateInterval.html">DateInterval</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000114">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a728fa9393e8fbca88275ff6387425bc4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classDateInterval.html">DateInterval</a>* DateInterval::clone </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>clone this object. </p> <p>The caller owns the result and should delete it when done. </p> <dl class="section return"><dt>Returns:</dt><dd>a cloned <a class="el" href="classDateInterval.html" title="This class represents a date interval.">DateInterval</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000118">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="af0451132759524cc19d6a4ea9a6bc368"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> DateInterval::getDynamicClassID </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a unique class ID POLYMORPHICALLY. </p> <p>Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classDateInterval.html#a5038d28120a5739aec8159765e6d22b9" title="Equality operator.">operator==()</a> and <a class="el" href="classDateInterval.html#a728fa9393e8fbca88275ff6387425bc4" title="clone this object.">clone()</a> methods call this method.</p> <dl class="section return"><dt>Returns:</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000113">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> <p>Implements <a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p> </div> </div> <a class="anchor" id="acd09b0653a136835f773241f3ace62e3"></a> <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="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> DateInterval::getFromDate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</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>Get the from date. </p> <dl class="section return"><dt>Returns:</dt><dd>the from date in dateInterval. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000110">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> <p>Definition at line <a class="el" href="dtintrv_8h_source.html#l00139">139</a> of file <a class="el" href="dtintrv_8h_source.html">dtintrv.h</a>.</p> </div> </div> <a class="anchor" id="a4ac929b85374fb21615211eb620794cf"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> DateInterval::getStaticClassID </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the class ID for this class. </p> <p>This is useful only for comparing to a return value from <a class="el" href="classDateInterval.html#af0451132759524cc19d6a4ea9a6bc368" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID()</a>. For example: </p> <pre> . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer-><a class="el" href="classDateInterval.html#af0451132759524cc19d6a4ea9a6bc368" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID()</a> == . erived::getStaticClassID()) ... </pre> <dl class="section return"><dt>Returns:</dt><dd>The class ID for all objects of this class. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000112">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a6d582c0226ea90e86b72eb8c4091bccd"></a> <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="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> DateInterval::getToDate </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</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>Get the to date. </p> <dl class="section return"><dt>Returns:</dt><dd>the to date in dateInterval. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000111">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> <p>Definition at line <a class="el" href="dtintrv_8h_source.html#l00145">145</a> of file <a class="el" href="dtintrv_8h_source.html">dtintrv.h</a>.</p> </div> </div> <a class="anchor" id="ac3bbfac6b8a7ff182a3e346dc4cbbcd1"></a> <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> DateInterval::operator!= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDateInterval.html">DateInterval</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</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>Non-equality operator. </p> <dl class="section return"><dt>Returns:</dt><dd>TRUE if the two DateIntervals are not the same </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000117">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> <p>Definition at line <a class="el" href="dtintrv_8h_source.html#l00151">151</a> of file <a class="el" href="dtintrv_8h_source.html">dtintrv.h</a>.</p> </div> </div> <a class="anchor" id="ab093e4890ccf777455fa452d47f8eb92"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDateInterval.html">DateInterval</a>& DateInterval::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDateInterval.html">DateInterval</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Default assignment operator. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000115">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <a class="anchor" id="a5038d28120a5739aec8159765e6d22b9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DateInterval::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDateInterval.html">DateInterval</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Equality operator. </p> <dl class="section return"><dt>Returns:</dt><dd>TRUE if the two DateIntervals are the same </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable000116">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="dtintrv_8h_source.html">dtintrv.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>