<!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.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: zypp/Date.h Source File</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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</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">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <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('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('Date_8h_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">Date.h</div> </div> </div><!--header--> <div class="contents"> <a href="Date_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*---------------------------------------------------------------------\</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">| ____ _ __ __ ___ |</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">| |__ / \ / / . \ . \ |</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">| / / \ V /| _/ _/ |</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">| / /__ | | | | | | |</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">| /_____||_| |_| |_| |</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">| |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">\---------------------------------------------------------------------*/</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#ifndef ZYPP_DATE_H</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#define ZYPP_DATE_H</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <ctime></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <iosfwd></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="Exception_8h.html">zypp/base/Exception.h</a>"</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="EnumClass_8h.html">zypp/base/EnumClass.h</a>"</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span><a class="code" href="namespacezypp.html">zypp</a></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> { </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">//</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// CLASS NAME : Date</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">//</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html"> 32</a></span> <span class="comment"></span> <span class="keyword">class </span><a class="code" href="classzypp_1_1Date.html">Date</a></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">friend</span> std::ostream & <a class="code" href="classzypp_1_1Date.html#a6348cc208b2e8f3cdbba7d595b560f80">operator<<</a>( std::ostream & <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html">Date</a> & obj );</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04"> 38</a></span>  <span class="keyword">typedef</span> time_t <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a12dbb9690dca8e87337ad792c5e5c67c"> 39</a></span>  <span class="keyword">typedef</span> time_t <a class="code" href="classzypp_1_1Date.html#a12dbb9690dca8e87337ad792c5e5c67c">Duration</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ad9dad30ad37437a90cc3ba50027b98b4"> 41</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#ad9dad30ad37437a90cc3ba50027b98b4">second</a> = 1;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a52da27baa81078696b5c1712f9439679"> 42</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a52da27baa81078696b5c1712f9439679">minute</a> = 60;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a2a93fb87a91e08c2bdab05e9e7ab5688"> 43</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a2a93fb87a91e08c2bdab05e9e7ab5688">hour</a> = 3600;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a39ba7e3653e6fa74a2ddfbe69d434c18"> 44</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a39ba7e3653e6fa74a2ddfbe69d434c18">day</a> = 86400;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ac024d9f935793240c5b89fa1f615a53b"> 45</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#ac024d9f935793240c5b89fa1f615a53b">month28</a> = 2419200;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ace979981dec439acd1205e843a1a6a56"> 46</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#ace979981dec439acd1205e843a1a6a56">month29</a> = 2505600;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a758d7a4688693306aab69f66ebbd70a1"> 47</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a758d7a4688693306aab69f66ebbd70a1">month30</a> = 2592000;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a43a363175b2b0f2f651714f64108aa10"> 48</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a43a363175b2b0f2f651714f64108aa10">month31</a> = 2678400;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a7737bbe7ade5f2f44be0f610b8d82390"> 49</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a7737bbe7ade5f2f44be0f610b8d82390">month</a> = <a class="code" href="classzypp_1_1Date.html#a758d7a4688693306aab69f66ebbd70a1">month30</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a1180e81ca1c12c3adcdd0ca9e6f69b64"> 50</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a1180e81ca1c12c3adcdd0ca9e6f69b64">year365</a> = 31536000;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a88a71b43b4bdb4ef9660ab47299944ee"> 51</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a88a71b43b4bdb4ef9660ab47299944ee">year366</a> = 31622400;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#af91cb3c581aea49a80827965be072563"> 52</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#af91cb3c581aea49a80827965be072563">year</a> = <a class="code" href="classzypp_1_1Date.html#a1180e81ca1c12c3adcdd0ca9e6f69b64">year365</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2"> 54</a></span>  <span class="keyword">enum</span> <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> { <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a>, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2adfd0311151688764b3cc401cf46b4670">TB_UTC</a> };</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a1bf6ce331c70c036be272e4222cda089"> 57</a></span>  <a class="code" href="classzypp_1_1Date.html#a1bf6ce331c70c036be272e4222cda089">Date</a>()</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  : <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a>( 0 )</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {}</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#abc12a1f0c17d9c6db6b9308f796d758f"> 61</a></span>  <a class="code" href="classzypp_1_1Date.html#abc12a1f0c17d9c6db6b9308f796d758f">Date</a>( <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> date_r )</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  : <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a>( date_r )</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  {}</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">explicit</span> <a class="code" href="classzypp_1_1Date.html#a1bf6ce331c70c036be272e4222cda089">Date</a>( <span class="keyword">const</span> std::string & seconds_r );</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classzypp_1_1Date.html#a1bf6ce331c70c036be272e4222cda089">Date</a>( <span class="keyword">const</span> std::string & date_str, <span class="keyword">const</span> std::string & format );</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classzypp_1_1Date.html#a1bf6ce331c70c036be272e4222cda089">Date</a>( <span class="keyword">const</span> std::string & date_str, <span class="keyword">const</span> std::string & format, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r );</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#adc8e5ca53781c19864f6c0e6aa6c1076"> 78</a></span>  <span class="keyword">static</span> <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#adc8e5ca53781c19864f6c0e6aa6c1076">now</a>()</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  { return ::time( 0 ); }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a6944b771f5bde9c31b60bf93a61d450d"> 83</a></span>  <span class="keyword">operator</span> <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a>; }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a3ea0ed498e744be1827b038bad6984ed"> 88</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#a3ea0ed498e744be1827b038bad6984ed">operator+</a>( <span class="keyword">const</span> time_t rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> + rhs; }</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a7e3a25a28f4ec6e97884b109414bbf2b"> 89</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#a7e3a25a28f4ec6e97884b109414bbf2b">operator-</a>( <span class="keyword">const</span> time_t rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> - rhs; }</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aef7b11c73f634f2237d308f744bc4bce"> 90</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#aef7b11c73f634f2237d308f744bc4bce">operator*</a>( <span class="keyword">const</span> time_t rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> * rhs; }</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a5a7f0d26f54e072f94a4e946b1378b97"> 91</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#a5a7f0d26f54e072f94a4e946b1378b97">operator/</a>( <span class="keyword">const</span> time_t rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> / rhs; }</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a9a323f2ed4df4f2ec576e3cb69c69e9f"> 93</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> & <a class="code" href="classzypp_1_1Date.html#a9a323f2ed4df4f2ec576e3cb69c69e9f">operator+=</a>( <span class="keyword">const</span> time_t rhs ) { <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> += rhs; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aa747c7f23d6d9508a4aa15beec8d2d08"> 94</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> & <a class="code" href="classzypp_1_1Date.html#aa747c7f23d6d9508a4aa15beec8d2d08">operator-=</a>( <span class="keyword">const</span> time_t rhs ) { <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> -= rhs; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a0d3c45dac784edc67e0bf86a23963f04"> 95</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> & <a class="code" href="classzypp_1_1Date.html#a0d3c45dac784edc67e0bf86a23963f04">operator*=</a>( <span class="keyword">const</span> time_t rhs ) { <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> *= rhs; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ae9c75650e8a9ea7a8ea6768cdf3073b3"> 96</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> & <a class="code" href="classzypp_1_1Date.html#ae9c75650e8a9ea7a8ea6768cdf3073b3">operator/=</a>( <span class="keyword">const</span> time_t rhs ) { <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> /= rhs; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a9cc3f49a962f444e88ab86c23a54589d"> 98</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> & <a class="code" href="classzypp_1_1Date.html#a9cc3f49a962f444e88ab86c23a54589d">operator++</a>(<span class="comment">/*prefix*/</span>) { <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> += 1; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a345e8b700945b321afd54ffbebbbf404"> 99</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> & <a class="code" href="classzypp_1_1Date.html#a345e8b700945b321afd54ffbebbbf404">operator--</a>(<span class="comment">/*prefix*/</span>) { <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a> -= 1; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a35dcd894fb7d2feb05d4de269009908b"> 101</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#a35dcd894fb7d2feb05d4de269009908b">operator++</a>(<span class="keywordtype">int</span><span class="comment">/*postfix*/</span>) { <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a>++; }</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ad3467fc45269a7f2ed58854e784f39a5"> 102</a></span>  <a class="code" href="classzypp_1_1Date.html">Date</a> <a class="code" href="classzypp_1_1Date.html#ad3467fc45269a7f2ed58854e784f39a5">operator--</a>(<span class="keywordtype">int</span><span class="comment">/*postfix*/</span>) { <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a>--; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52"> 112</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52">form</a>( <span class="keyword">const</span> std::string & format_r )<span class="keyword"> const</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52">form</a>( format_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> ); }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  std::string <a class="code" href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52">form</a>( <span class="keyword">const</span> std::string & format_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r ) <span class="keyword">const</span>;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aa677d76432be1c80f12a1c84bf0745cf"> 120</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#aa677d76432be1c80f12a1c84bf0745cf">asString</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52">form</a>( <span class="stringliteral">"%c"</span> ); }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ad529cfd00207b6696ca0b3ecb023c793"> 126</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#ad529cfd00207b6696ca0b3ecb023c793">asSeconds</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52">form</a>( <span class="stringliteral">"%s"</span> ); }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0"> 133</a></span>  <span class="keyword">struct </span><a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html">EDateFormatDef</a> { <span class="keyword">enum</span> <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0">Enum</a> {</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a3ab89d20dbb2768a58d765c3210b021d"> 134</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a3ab89d20dbb2768a58d765c3210b021d">none</a>, </div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a13e0fd82d175797c4478557db32757a9"> 135</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a13e0fd82d175797c4478557db32757a9">calendar</a>, </div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a2ebb532894e81d9cb993f706789a923f"> 136</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a2ebb532894e81d9cb993f706789a923f">month</a>, </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a9b077125044a4052cc2b5133300931df"> 137</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a9b077125044a4052cc2b5133300931df">year</a>, </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0adb956c6c1ca77c68bd57e132c06d94c3"> 138</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0adb956c6c1ca77c68bd57e132c06d94c3">week</a>, </div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a6a0b5163e6a31e7fdc0cf36caf0ad580"> 139</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a6a0b5163e6a31e7fdc0cf36caf0ad580">weekday</a>, </div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0ad6c95f05872dd8f9ecdc27f5e9a5802f"> 140</a></span>  <a class="code" href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0ad6c95f05872dd8f9ecdc27f5e9a5802f">ordinal</a>, </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  };};</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b"> 142</a></span>  <span class="keyword">typedef</span> base::EnumClass<EDateFormatDef> <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a>; </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41f"> 145</a></span>  <span class="keyword">struct </span><a class="code" href="structzypp_1_1Date_1_1ETimeFormatDef.html">ETimeFormatDef</a> { <span class="keyword">enum</span> <a class="code" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41f">Enum</a> {</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41fa7242c9b6c4c60d1616f94bd4a1ea702d"> 146</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41fa7242c9b6c4c60d1616f94bd4a1ea702d">none</a>, </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41fa11d3a983c86cbf4d4e74c9e4074bd516"> 147</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41fa11d3a983c86cbf4d4e74c9e4074bd516">seconds</a>, </div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41faf28f8fd29ef32bc667817f4cd2c0ea50"> 148</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41faf28f8fd29ef32bc667817f4cd2c0ea50">minutes</a>, </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41faeb450823d60944d55e9e8998c84e9b49"> 149</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41faeb450823d60944d55e9e8998c84e9b49">hours</a>, </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  };};</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f"> 151</a></span>  <span class="keyword">typedef</span> base::EnumClass<ETimeFormatDef> <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a>; </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567"> 154</a></span>  <span class="keyword">struct </span><a class="code" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html">ETimeZoneFormatDef</a> { <span class="keyword">enum</span> <a class="code" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567">Enum</a> {</div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567a2428d72425f6396d134a8e358161b46b"> 155</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567a2428d72425f6396d134a8e358161b46b">none</a>, </div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567a6fff4d70a6106d981e55efc57b3413fa"> 156</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567a6fff4d70a6106d981e55efc57b3413fa">name</a>, </div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567ad18f51614d848186eabaa11280d40093"> 157</a></span>  <a class="code" href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567ad18f51614d848186eabaa11280d40093">offset</a>, </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  };};</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a"> 159</a></span>  <span class="keyword">typedef</span> base::EnumClass<ETimeZoneFormatDef> <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a>; </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  std::string <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r = DateFormat::calendar, <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r = TimeFormat::seconds, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r = TimeZoneFormat::name, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a6648599e22d7dadbdbc4baa5517cce2f"> 168</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a6648599e22d7dadbdbc4baa5517cce2f">print</a>( <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r = TimeZoneFormat::name, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( DateFormat::calendar, timeFormat_r, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aaac2dd79a08a10c0606f8558891d1d00"> 171</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#aaac2dd79a08a10c0606f8558891d1d00">print</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( dateFormat_r, TimeFormat::seconds, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a6e5d07c91c954d4b2176c44db3fc78c3"> 174</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a6e5d07c91c954d4b2176c44db3fc78c3">print</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r, <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( dateFormat_r, timeFormat_r, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#adcfa6b868963571cdd876e84892f8cd8"> 177</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#adcfa6b868963571cdd876e84892f8cd8">print</a>( <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( DateFormat::calendar, TimeFormat::seconds, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a815332281e05782155e6a5b98ebb7f8f"> 180</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a815332281e05782155e6a5b98ebb7f8f">print</a>( <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( DateFormat::calendar, timeFormat_r, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#af7391028177393d722880fb5e9fd7019"> 183</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#af7391028177393d722880fb5e9fd7019">print</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( dateFormat_r, TimeFormat::seconds, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a5d73ccf1e9fe5e4feedf1a3a163215f4"> 186</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a5d73ccf1e9fe5e4feedf1a3a163215f4">print</a>( <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( DateFormat::calendar, TimeFormat::seconds, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#afe6dcbf80431cd5f317257051d1a7cdc"> 192</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#afe6dcbf80431cd5f317257051d1a7cdc">printDate</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r = DateFormat::calendar, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( dateFormat_r, TimeFormat::none, TimeZoneFormat::none, base_r ); }</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aeafab9b2b2b3d71c94db0747d3a7b06c"> 195</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#aeafab9b2b2b3d71c94db0747d3a7b06c">printDate</a>( <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#afe6dcbf80431cd5f317257051d1a7cdc">printDate</a>( DateFormat::calendar, base_r ); }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a8fb58e7ab8ba4c3481917aa89e682fab"> 201</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a8fb58e7ab8ba4c3481917aa89e682fab">printTime</a>( <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r = TimeFormat::seconds, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r = TimeZoneFormat::name, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">print</a>( DateFormat::none, timeFormat_r, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a074091c8a12c693e3ef6badec764cd61"> 204</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a074091c8a12c693e3ef6badec764cd61">printTime</a>( <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r , <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a8fb58e7ab8ba4c3481917aa89e682fab">printTime</a>( TimeFormat::seconds, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a145f135140864d0d9ef8285e9b366868"> 207</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a145f135140864d0d9ef8285e9b366868">printTime</a>( <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r , <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a8fb58e7ab8ba4c3481917aa89e682fab">printTime</a>( timeFormat_r, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#aec8fcfced28632a25f14f12f9a32c427"> 210</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#aec8fcfced28632a25f14f12f9a32c427">printTime</a>( <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a8fb58e7ab8ba4c3481917aa89e682fab">printTime</a>( TimeFormat::seconds, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  std::string <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r = DateFormat::calendar, <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r = TimeFormat::seconds, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r = TimeZoneFormat::name, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a55d61611d7b38521849931da55942970"> 220</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a55d61611d7b38521849931da55942970">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r = TimeZoneFormat::name, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( DateFormat::calendar, timeFormat_r, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#af1bc273acc749e8601470085f3601164"> 223</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#af1bc273acc749e8601470085f3601164">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r, <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( dateFormat_r, TimeFormat::seconds, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#abbb9744c9ab4ddb6b18c375e3f80b3e3"> 226</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#abbb9744c9ab4ddb6b18c375e3f80b3e3">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r, <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( dateFormat_r, timeFormat_r, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a310cf6f01c42089e153a7153e55ee732"> 229</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a310cf6f01c42089e153a7153e55ee732">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">TimeZoneFormat</a> timeZoneFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r = <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">TB_LOCALTIME</a> )<span class="keyword"> const</span></div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( DateFormat::calendar, TimeFormat::seconds, timeZoneFormat_r, base_r ); }</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a75e6a99b54314a40038c6d710360307e"> 232</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a75e6a99b54314a40038c6d710360307e">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">TimeFormat</a> timeFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( DateFormat::calendar, timeFormat_r, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a4223e452f06f25868eff47f6a98f8f14"> 235</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a4223e452f06f25868eff47f6a98f8f14">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">DateFormat</a> dateFormat_r, <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( dateFormat_r, TimeFormat::seconds, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a5fe994843b7b35a8a8af47a93cd01d90"> 238</a></span>  std::string <a class="code" href="classzypp_1_1Date.html#a5fe994843b7b35a8a8af47a93cd01d90">printISO</a>( <a class="code" href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">TimeBase</a> base_r )<span class="keyword"> const</span></div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">printISO</a>( DateFormat::calendar, TimeFormat::seconds, TimeZoneFormat::name, base_r ); }</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02"> 247</a></span>  <a class="code" href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">ValueType</a> <a class="code" href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">_date</a>;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  };</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classzypp_1_1Date.html#ada599c7a3fc635ed96c12a1d688f6e31"> 252</a></span>  <span class="keyword">inline</span> std::ostream & <a class="code" href="classzypp_1_1Date.html#ada599c7a3fc635ed96c12a1d688f6e31">operator<<</a>( std::ostream & <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html">Date</a> & obj )</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  { <span class="keywordflow">return</span> <a class="code" href="namespacestr.html">str</a> << obj.<a class="code" href="classzypp_1_1Date.html#aa677d76432be1c80f12a1c84bf0745cf">asString</a>(); }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  std::ostream & <a class="code" href="namespacezypp.html#a79b689221bcd05c9dc053873163845c6">dumpAsXmlOn</a>( std::ostream & <a class="code" href="namespacestr.html">str</a>, <span class="keyword">const</span> <a class="code" href="classzypp_1_1Date.html">Date</a> & obj, <span class="keyword">const</span> std::string & name_r = <span class="stringliteral">"date"</span> );</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classzypp_1_1DateFormatException.html"> 261</a></span>  <span class="keyword">class </span><a class="code" href="classzypp_1_1DateFormatException.html">DateFormatException</a> : <span class="keyword">public</span> <a class="code" href="classzypp_1_1Exception.html">Exception</a></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="classzypp_1_1DateFormatException.html#a95cc0d34a0a1dccd23a3978ce8b09a20"> 264</a></span>  <a class="code" href="classzypp_1_1DateFormatException.html#a95cc0d34a0a1dccd23a3978ce8b09a20">DateFormatException</a>( <span class="keyword">const</span> std::string & <a class="code" href="classzypp_1_1Exception.html#a90ce3c9322069f3133564a7ddf43cd8d">msg</a> ) : <a class="code" href="classzypp_1_1Exception.html">Exception</a>( <a class="code" href="classzypp_1_1Exception.html#a90ce3c9322069f3133564a7ddf43cd8d">msg</a> )</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  {}</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  };</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> } <span class="comment">// namespace zypp</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment"></span><span class="preprocessor">#endif // ZYPP_DATE_H</span></div><div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0adb956c6c1ca77c68bd57e132c06d94c3"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0adb956c6c1ca77c68bd57e132c06d94c3">zypp::Date::EDateFormatDef::week</a></div><div class="ttdoc">2014-W06</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00138">Date.h:138</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a815332281e05782155e6a5b98ebb7f8f"><div class="ttname"><a href="classzypp_1_1Date.html#a815332281e05782155e6a5b98ebb7f8f">zypp::Date::print</a></div><div class="ttdeci">std::string print(TimeFormat timeFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00180">Date.h:180</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a39ba7e3653e6fa74a2ddfbe69d434c18"><div class="ttname"><a href="classzypp_1_1Date.html#a39ba7e3653e6fa74a2ddfbe69d434c18">zypp::Date::day</a></div><div class="ttdeci">static const ValueType day</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00044">Date.h:44</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a550511f4ea3361f88eb2bfc1ba86750b"><div class="ttname"><a href="classzypp_1_1Date.html#a550511f4ea3361f88eb2bfc1ba86750b">zypp::Date::DateFormat</a></div><div class="ttdeci">base::EnumClass< EDateFormatDef > DateFormat</div><div class="ttdoc">'enum class DateFormat'</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00142">Date.h:142</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a9a323f2ed4df4f2ec576e3cb69c69e9f"><div class="ttname"><a href="classzypp_1_1Date.html#a9a323f2ed4df4f2ec576e3cb69c69e9f">zypp::Date::operator+=</a></div><div class="ttdeci">Date & operator+=(const time_t rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00093">Date.h:93</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a0808cd4bcec266797e16b5c3b4028483"><div class="ttname"><a href="classzypp_1_1Date.html#a0808cd4bcec266797e16b5c3b4028483">zypp::Date::print</a></div><div class="ttdeci">std::string print(DateFormat dateFormat_r=DateFormat::calendar, TimeFormat timeFormat_r=TimeFormat::seconds, TimeZoneFormat timeZoneFormat_r=TimeZoneFormat::name, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdoc">Default format is '2014-02-07 07:06:41 CET' The default is DateFormat::calendar, TimeFormat::seconds,...</div><div class="ttdef"><b>Definition:</b> <a href="Date_8cc_source.html#l00188">Date.cc:188</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0a2ebb532894e81d9cb993f706789a923f"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a2ebb532894e81d9cb993f706789a923f">zypp::Date::EDateFormatDef::month</a></div><div class="ttdoc">2014-02</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00136">Date.h:136</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a6348cc208b2e8f3cdbba7d595b560f80"><div class="ttname"><a href="classzypp_1_1Date.html#a6348cc208b2e8f3cdbba7d595b560f80">zypp::Date::operator<<</a></div><div class="ttdeci">friend std::ostream & operator<<(std::ostream &str, const Date &obj)</div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeZoneFormatDef_html_a07cc20113c6707793bb4a23b3df64567ad18f51614d848186eabaa11280d40093"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567ad18f51614d848186eabaa11280d40093">zypp::Date::ETimeZoneFormatDef::offset</a></div><div class="ttdoc">+00[:00]</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00157">Date.h:157</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a52da27baa81078696b5c1712f9439679"><div class="ttname"><a href="classzypp_1_1Date.html#a52da27baa81078696b5c1712f9439679">zypp::Date::minute</a></div><div class="ttdeci">static const ValueType minute</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00042">Date.h:42</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a43a363175b2b0f2f651714f64108aa10"><div class="ttname"><a href="classzypp_1_1Date.html#a43a363175b2b0f2f651714f64108aa10">zypp::Date::month31</a></div><div class="ttdeci">static const ValueType month31</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00048">Date.h:48</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aa677d76432be1c80f12a1c84bf0745cf"><div class="ttname"><a href="classzypp_1_1Date.html#aa677d76432be1c80f12a1c84bf0745cf">zypp::Date::asString</a></div><div class="ttdeci">std::string asString() const</div><div class="ttdoc">Default string representation of Date.</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00120">Date.h:120</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0a6a0b5163e6a31e7fdc0cf36caf0ad580"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a6a0b5163e6a31e7fdc0cf36caf0ad580">zypp::Date::EDateFormatDef::weekday</a></div><div class="ttdoc">2014-W06-5 (1 is Monday)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00139">Date.h:139</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_abbb9744c9ab4ddb6b18c375e3f80b3e3"><div class="ttname"><a href="classzypp_1_1Date.html#abbb9744c9ab4ddb6b18c375e3f80b3e3">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(DateFormat dateFormat_r, TimeFormat timeFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00226">Date.h:226</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0a13e0fd82d175797c4478557db32757a9"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a13e0fd82d175797c4478557db32757a9">zypp::Date::EDateFormatDef::calendar</a></div><div class="ttdoc">2014-02-07</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00135">Date.h:135</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a6648599e22d7dadbdbc4baa5517cce2f"><div class="ttname"><a href="classzypp_1_1Date.html#a6648599e22d7dadbdbc4baa5517cce2f">zypp::Date::print</a></div><div class="ttdeci">std::string print(TimeFormat timeFormat_r, TimeZoneFormat timeZoneFormat_r=TimeZoneFormat::name, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00168">Date.h:168</a></div></div> <div class="ttc" id="namespacestr_html"><div class="ttname"><a href="namespacestr.html">str</a></div><div class="ttdoc">String related utilities and Regular expression matching.</div></div> <div class="ttc" id="classzypp_1_1Date_html_a1bf6ce331c70c036be272e4222cda089"><div class="ttname"><a href="classzypp_1_1Date.html#a1bf6ce331c70c036be272e4222cda089">zypp::Date::Date</a></div><div class="ttdeci">Date()</div><div class="ttdoc">Default ctor: 0.</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00057">Date.h:57</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a310cf6f01c42089e153a7153e55ee732"><div class="ttname"><a href="classzypp_1_1Date.html#a310cf6f01c42089e153a7153e55ee732">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(TimeZoneFormat timeZoneFormat_r, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00229">Date.h:229</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a5d73ccf1e9fe5e4feedf1a3a163215f4"><div class="ttname"><a href="classzypp_1_1Date.html#a5d73ccf1e9fe5e4feedf1a3a163215f4">zypp::Date::print</a></div><div class="ttdeci">std::string print(TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00186">Date.h:186</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_abc12a1f0c17d9c6db6b9308f796d758f"><div class="ttname"><a href="classzypp_1_1Date.html#abc12a1f0c17d9c6db6b9308f796d758f">zypp::Date::Date</a></div><div class="ttdeci">Date(ValueType date_r)</div><div class="ttdoc">Ctor taking time_t value.</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00061">Date.h:61</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ad529cfd00207b6696ca0b3ecb023c793"><div class="ttname"><a href="classzypp_1_1Date.html#ad529cfd00207b6696ca0b3ecb023c793">zypp::Date::asSeconds</a></div><div class="ttdeci">std::string asSeconds() const</div><div class="ttdoc">Convert to string representation of calendar time in numeric form (like "1029255142").</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00126">Date.h:126</a></div></div> <div class="ttc" id="classzypp_1_1DateFormatException_html_a95cc0d34a0a1dccd23a3978ce8b09a20"><div class="ttname"><a href="classzypp_1_1DateFormatException.html#a95cc0d34a0a1dccd23a3978ce8b09a20">zypp::DateFormatException::DateFormatException</a></div><div class="ttdeci">DateFormatException(const std::string &msg)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00264">Date.h:264</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ad3467fc45269a7f2ed58854e784f39a5"><div class="ttname"><a href="classzypp_1_1Date.html#ad3467fc45269a7f2ed58854e784f39a5">zypp::Date::operator--</a></div><div class="ttdeci">Date operator--(int)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00102">Date.h:102</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a758d7a4688693306aab69f66ebbd70a1"><div class="ttname"><a href="classzypp_1_1Date.html#a758d7a4688693306aab69f66ebbd70a1">zypp::Date::month30</a></div><div class="ttdeci">static const ValueType month30</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00047">Date.h:47</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ae9c75650e8a9ea7a8ea6768cdf3073b3"><div class="ttname"><a href="classzypp_1_1Date.html#ae9c75650e8a9ea7a8ea6768cdf3073b3">zypp::Date::operator/=</a></div><div class="ttdeci">Date & operator/=(const time_t rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00096">Date.h:96</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a7737bbe7ade5f2f44be0f610b8d82390"><div class="ttname"><a href="classzypp_1_1Date.html#a7737bbe7ade5f2f44be0f610b8d82390">zypp::Date::month</a></div><div class="ttdeci">static const ValueType month</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00049">Date.h:49</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ace979981dec439acd1205e843a1a6a56"><div class="ttname"><a href="classzypp_1_1Date.html#ace979981dec439acd1205e843a1a6a56">zypp::Date::month29</a></div><div class="ttdeci">static const ValueType month29</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00046">Date.h:46</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html">zypp::Date::EDateFormatDef</a></div><div class="ttdoc">Date formats for printing (use like 'enum class DateFormat')</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00133">Date.h:133</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a03d2d19e4a32a520ff35b7bb7d2a0c02"><div class="ttname"><a href="classzypp_1_1Date.html#a03d2d19e4a32a520ff35b7bb7d2a0c02">zypp::Date::_date</a></div><div class="ttdeci">ValueType _date</div><div class="ttdoc">Calendar time.</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00247">Date.h:247</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_adcfa6b868963571cdd876e84892f8cd8"><div class="ttname"><a href="classzypp_1_1Date.html#adcfa6b868963571cdd876e84892f8cd8">zypp::Date::print</a></div><div class="ttdeci">std::string print(TimeZoneFormat timeZoneFormat_r, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00177">Date.h:177</a></div></div> <div class="ttc" id="classzypp_1_1Date_html"><div class="ttname"><a href="classzypp_1_1Date.html">zypp::Date</a></div><div class="ttdoc">Store and operate on date (time_t).</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00032">Date.h:32</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aae98d46691fe7c18971ba4455ab9ca52"><div class="ttname"><a href="classzypp_1_1Date.html#aae98d46691fe7c18971ba4455ab9ca52">zypp::Date::form</a></div><div class="ttdeci">std::string form(const std::string &format_r) const</div><div class="ttdoc">Return string representation according to format as localtime.</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00112">Date.h:112</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeFormatDef_html_acef3a4117424fa43c319d3cbebf8a41faeb450823d60944d55e9e8998c84e9b49"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41faeb450823d60944d55e9e8998c84e9b49">zypp::Date::ETimeFormatDef::hours</a></div><div class="ttdoc">07</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00149">Date.h:149</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a8fb58e7ab8ba4c3481917aa89e682fab"><div class="ttname"><a href="classzypp_1_1Date.html#a8fb58e7ab8ba4c3481917aa89e682fab">zypp::Date::printTime</a></div><div class="ttdeci">std::string printTime(TimeFormat timeFormat_r=TimeFormat::seconds, TimeZoneFormat timeZoneFormat_r=TimeZoneFormat::name, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdoc">Convenience for printing the time only ['07:06:41 CET'] The default is DateFormat::calendar and TB_LO...</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00201">Date.h:201</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0a3ab89d20dbb2768a58d765c3210b021d"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a3ab89d20dbb2768a58d765c3210b021d">zypp::Date::EDateFormatDef::none</a></div><div class="ttdoc">""</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00134">Date.h:134</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a7e3a25a28f4ec6e97884b109414bbf2b"><div class="ttname"><a href="classzypp_1_1Date.html#a7e3a25a28f4ec6e97884b109414bbf2b">zypp::Date::operator-</a></div><div class="ttdeci">Date operator-(const time_t rhs) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00089">Date.h:89</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0">zypp::Date::EDateFormatDef::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00133">Date.h:133</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a1180e81ca1c12c3adcdd0ca9e6f69b64"><div class="ttname"><a href="classzypp_1_1Date.html#a1180e81ca1c12c3adcdd0ca9e6f69b64">zypp::Date::year365</a></div><div class="ttdeci">static const ValueType year365</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00050">Date.h:50</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ada599c7a3fc635ed96c12a1d688f6e31"><div class="ttname"><a href="classzypp_1_1Date.html#ada599c7a3fc635ed96c12a1d688f6e31">zypp::Date::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &str, const Date &obj)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00252">Date.h:252</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aeafab9b2b2b3d71c94db0747d3a7b06c"><div class="ttname"><a href="classzypp_1_1Date.html#aeafab9b2b2b3d71c94db0747d3a7b06c">zypp::Date::printDate</a></div><div class="ttdeci">std::string printDate(TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00195">Date.h:195</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeFormatDef_html_acef3a4117424fa43c319d3cbebf8a41f"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41f">zypp::Date::ETimeFormatDef::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00145">Date.h:145</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ac024d9f935793240c5b89fa1f615a53b"><div class="ttname"><a href="classzypp_1_1Date.html#ac024d9f935793240c5b89fa1f615a53b">zypp::Date::month28</a></div><div class="ttdeci">static const ValueType month28</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00045">Date.h:45</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_af91cb3c581aea49a80827965be072563"><div class="ttname"><a href="classzypp_1_1Date.html#af91cb3c581aea49a80827965be072563">zypp::Date::year</a></div><div class="ttdeci">static const ValueType year</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00052">Date.h:52</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeZoneFormatDef_html_a07cc20113c6707793bb4a23b3df64567"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567">zypp::Date::ETimeZoneFormatDef::Enum</a></div><div class="ttdeci">Enum</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00154">Date.h:154</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a75e6a99b54314a40038c6d710360307e"><div class="ttname"><a href="classzypp_1_1Date.html#a75e6a99b54314a40038c6d710360307e">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(TimeFormat timeFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00232">Date.h:232</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeFormatDef_html"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeFormatDef.html">zypp::Date::ETimeFormatDef</a></div><div class="ttdoc">Time formats for printing (use like 'enum class TimeFormat')</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00145">Date.h:145</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a12dbb9690dca8e87337ad792c5e5c67c"><div class="ttname"><a href="classzypp_1_1Date.html#a12dbb9690dca8e87337ad792c5e5c67c">zypp::Date::Duration</a></div><div class="ttdeci">time_t Duration</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00039">Date.h:39</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a145f135140864d0d9ef8285e9b366868"><div class="ttname"><a href="classzypp_1_1Date.html#a145f135140864d0d9ef8285e9b366868">zypp::Date::printTime</a></div><div class="ttdeci">std::string printTime(TimeFormat timeFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00207">Date.h:207</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeFormatDef_html_acef3a4117424fa43c319d3cbebf8a41faf28f8fd29ef32bc667817f4cd2c0ea50"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41faf28f8fd29ef32bc667817f4cd2c0ea50">zypp::Date::ETimeFormatDef::minutes</a></div><div class="ttdoc">07:06</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00148">Date.h:148</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_af1bc273acc749e8601470085f3601164"><div class="ttname"><a href="classzypp_1_1Date.html#af1bc273acc749e8601470085f3601164">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(DateFormat dateFormat_r, TimeZoneFormat timeZoneFormat_r, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00223">Date.h:223</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a5fe994843b7b35a8a8af47a93cd01d90"><div class="ttname"><a href="classzypp_1_1Date.html#a5fe994843b7b35a8a8af47a93cd01d90">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00238">Date.h:238</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeZoneFormatDef_html_a07cc20113c6707793bb4a23b3df64567a6fff4d70a6106d981e55efc57b3413fa"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567a6fff4d70a6106d981e55efc57b3413fa">zypp::Date::ETimeZoneFormatDef::name</a></div><div class="ttdoc">UTC, CET, ...</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00156">Date.h:156</a></div></div> <div class="ttc" id="EnumClass_8h_html"><div class="ttname"><a href="EnumClass_8h.html">EnumClass.h</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a345e8b700945b321afd54ffbebbbf404"><div class="ttname"><a href="classzypp_1_1Date.html#a345e8b700945b321afd54ffbebbbf404">zypp::Date::operator--</a></div><div class="ttdeci">Date & operator--()</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00099">Date.h:99</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aec8fcfced28632a25f14f12f9a32c427"><div class="ttname"><a href="classzypp_1_1Date.html#aec8fcfced28632a25f14f12f9a32c427">zypp::Date::printTime</a></div><div class="ttdeci">std::string printTime(TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00210">Date.h:210</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0a9b077125044a4052cc2b5133300931df"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0a9b077125044a4052cc2b5133300931df">zypp::Date::EDateFormatDef::year</a></div><div class="ttdoc">2014</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00137">Date.h:137</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aef7b11c73f634f2237d308f744bc4bce"><div class="ttname"><a href="classzypp_1_1Date.html#aef7b11c73f634f2237d308f744bc4bce">zypp::Date::operator*</a></div><div class="ttdeci">Date operator*(const time_t rhs) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00090">Date.h:90</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a0d3c45dac784edc67e0bf86a23963f04"><div class="ttname"><a href="classzypp_1_1Date.html#a0d3c45dac784edc67e0bf86a23963f04">zypp::Date::operator*=</a></div><div class="ttdeci">Date & operator*=(const time_t rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00095">Date.h:95</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a3ea0ed498e744be1827b038bad6984ed"><div class="ttname"><a href="classzypp_1_1Date.html#a3ea0ed498e744be1827b038bad6984ed">zypp::Date::operator+</a></div><div class="ttdeci">Date operator+(const time_t rhs) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00088">Date.h:88</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a9cc3f49a962f444e88ab86c23a54589d"><div class="ttname"><a href="classzypp_1_1Date.html#a9cc3f49a962f444e88ab86c23a54589d">zypp::Date::operator++</a></div><div class="ttdeci">Date & operator++()</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00098">Date.h:98</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a7168a9b857f69fd26138eb4d87c32f2a"><div class="ttname"><a href="classzypp_1_1Date.html#a7168a9b857f69fd26138eb4d87c32f2a">zypp::Date::TimeZoneFormat</a></div><div class="ttdeci">base::EnumClass< ETimeZoneFormatDef > TimeZoneFormat</div><div class="ttdoc">'enum class TimeZoneFormat'</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00159">Date.h:159</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a2a93fb87a91e08c2bdab05e9e7ab5688"><div class="ttname"><a href="classzypp_1_1Date.html#a2a93fb87a91e08c2bdab05e9e7ab5688">zypp::Date::hour</a></div><div class="ttdeci">static const ValueType hour</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00043">Date.h:43</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b"><div class="ttname"><a href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2a72d7348dfcba3671b76dfb74bcd0ed4b">zypp::Date::TB_LOCALTIME</a></div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00054">Date.h:54</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aaac2dd79a08a10c0606f8558891d1d00"><div class="ttname"><a href="classzypp_1_1Date.html#aaac2dd79a08a10c0606f8558891d1d00">zypp::Date::print</a></div><div class="ttdeci">std::string print(DateFormat dateFormat_r, TimeZoneFormat timeZoneFormat_r, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00171">Date.h:171</a></div></div> <div class="ttc" id="classzypp_1_1Exception_html"><div class="ttname"><a href="classzypp_1_1Exception.html">zypp::Exception</a></div><div class="ttdoc">Base class for Exception.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00145">Exception.h:145</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_adc8e5ca53781c19864f6c0e6aa6c1076"><div class="ttname"><a href="classzypp_1_1Date.html#adc8e5ca53781c19864f6c0e6aa6c1076">zypp::Date::now</a></div><div class="ttdeci">static Date now()</div><div class="ttdoc">Return the current time.</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00078">Date.h:78</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a35dcd894fb7d2feb05d4de269009908b"><div class="ttname"><a href="classzypp_1_1Date.html#a35dcd894fb7d2feb05d4de269009908b">zypp::Date::operator++</a></div><div class="ttdeci">Date operator++(int)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00101">Date.h:101</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeZoneFormatDef_html_a07cc20113c6707793bb4a23b3df64567a2428d72425f6396d134a8e358161b46b"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html#a07cc20113c6707793bb4a23b3df64567a2428d72425f6396d134a8e358161b46b">zypp::Date::ETimeZoneFormatDef::none</a></div><div class="ttdoc">""</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00155">Date.h:155</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a94f50779d021440f3fc46c37dd1f7d04"><div class="ttname"><a href="classzypp_1_1Date.html#a94f50779d021440f3fc46c37dd1f7d04">zypp::Date::ValueType</a></div><div class="ttdeci">time_t ValueType</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00038">Date.h:38</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a4f95877f4a1e0c0658e334fe5d15390f"><div class="ttname"><a href="classzypp_1_1Date.html#a4f95877f4a1e0c0658e334fe5d15390f">zypp::Date::TimeFormat</a></div><div class="ttdeci">base::EnumClass< ETimeFormatDef > TimeFormat</div><div class="ttdoc">'enum class TimeFormat'</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00151">Date.h:151</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_afe6dcbf80431cd5f317257051d1a7cdc"><div class="ttname"><a href="classzypp_1_1Date.html#afe6dcbf80431cd5f317257051d1a7cdc">zypp::Date::printDate</a></div><div class="ttdeci">std::string printDate(DateFormat dateFormat_r=DateFormat::calendar, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdoc">Convenience for printing the date only ['2014-02-07'] The default is DateFormat::calendar and TB_LOCA...</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00192">Date.h:192</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a88a71b43b4bdb4ef9660ab47299944ee"><div class="ttname"><a href="classzypp_1_1Date.html#a88a71b43b4bdb4ef9660ab47299944ee">zypp::Date::year366</a></div><div class="ttdeci">static const ValueType year366</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00051">Date.h:51</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a4223e452f06f25868eff47f6a98f8f14"><div class="ttname"><a href="classzypp_1_1Date.html#a4223e452f06f25868eff47f6a98f8f14">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(DateFormat dateFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00235">Date.h:235</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeFormatDef_html_acef3a4117424fa43c319d3cbebf8a41fa11d3a983c86cbf4d4e74c9e4074bd516"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41fa11d3a983c86cbf4d4e74c9e4074bd516">zypp::Date::ETimeFormatDef::seconds</a></div><div class="ttdoc">07:06:41</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00147">Date.h:147</a></div></div> <div class="ttc" id="classzypp_1_1DateFormatException_html"><div class="ttname"><a href="classzypp_1_1DateFormatException.html">zypp::DateFormatException</a></div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00261">Date.h:261</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeZoneFormatDef_html"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeZoneFormatDef.html">zypp::Date::ETimeZoneFormatDef</a></div><div class="ttdoc">Timezone indicator for printing (use like 'enum class TimeZoneFormat')</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00154">Date.h:154</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_af7391028177393d722880fb5e9fd7019"><div class="ttname"><a href="classzypp_1_1Date.html#af7391028177393d722880fb5e9fd7019">zypp::Date::print</a></div><div class="ttdeci">std::string print(DateFormat dateFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00183">Date.h:183</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a6e5d07c91c954d4b2176c44db3fc78c3"><div class="ttname"><a href="classzypp_1_1Date.html#a6e5d07c91c954d4b2176c44db3fc78c3">zypp::Date::print</a></div><div class="ttdeci">std::string print(DateFormat dateFormat_r, TimeFormat timeFormat_r, TimeBase base_r) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00174">Date.h:174</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_aa747c7f23d6d9508a4aa15beec8d2d08"><div class="ttname"><a href="classzypp_1_1Date.html#aa747c7f23d6d9508a4aa15beec8d2d08">zypp::Date::operator-=</a></div><div class="ttdeci">Date & operator-=(const time_t rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00094">Date.h:94</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a294c893a6cc68d6a36804e10442accf2adfd0311151688764b3cc401cf46b4670"><div class="ttname"><a href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2adfd0311151688764b3cc401cf46b4670">zypp::Date::TB_UTC</a></div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00054">Date.h:54</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a55d61611d7b38521849931da55942970"><div class="ttname"><a href="classzypp_1_1Date.html#a55d61611d7b38521849931da55942970">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(TimeFormat timeFormat_r, TimeZoneFormat timeZoneFormat_r=TimeZoneFormat::name, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00220">Date.h:220</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1ETimeFormatDef_html_acef3a4117424fa43c319d3cbebf8a41fa7242c9b6c4c60d1616f94bd4a1ea702d"><div class="ttname"><a href="structzypp_1_1Date_1_1ETimeFormatDef.html#acef3a4117424fa43c319d3cbebf8a41fa7242c9b6c4c60d1616f94bd4a1ea702d">zypp::Date::ETimeFormatDef::none</a></div><div class="ttdoc">""</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00146">Date.h:146</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a294c893a6cc68d6a36804e10442accf2"><div class="ttname"><a href="classzypp_1_1Date.html#a294c893a6cc68d6a36804e10442accf2">zypp::Date::TimeBase</a></div><div class="ttdeci">TimeBase</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00054">Date.h:54</a></div></div> <div class="ttc" id="namespacezypp_html"><div class="ttname"><a href="namespacezypp.html">zypp</a></div><div class="ttdoc">Easy-to use interface to the ZYPP dependency resolver.</div><div class="ttdef"><b>Definition:</b> <a href="CodePitfalls_8doc_source.html#l00001">CodePitfalls.doc:1</a></div></div> <div class="ttc" id="Exception_8h_html"><div class="ttname"><a href="Exception_8h.html">Exception.h</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a1823779823f5aa62b73cbadf43764f68"><div class="ttname"><a href="classzypp_1_1Date.html#a1823779823f5aa62b73cbadf43764f68">zypp::Date::printISO</a></div><div class="ttdeci">std::string printISO(DateFormat dateFormat_r=DateFormat::calendar, TimeFormat timeFormat_r=TimeFormat::seconds, TimeZoneFormat timeZoneFormat_r=TimeZoneFormat::name, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdoc">Default ISO 8601 format is '2014-02-07T07:06:41+01'</div><div class="ttdef"><b>Definition:</b> <a href="Date_8cc_source.html#l00204">Date.cc:204</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_ad9dad30ad37437a90cc3ba50027b98b4"><div class="ttname"><a href="classzypp_1_1Date.html#ad9dad30ad37437a90cc3ba50027b98b4">zypp::Date::second</a></div><div class="ttdeci">static const ValueType second</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00041">Date.h:41</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a074091c8a12c693e3ef6badec764cd61"><div class="ttname"><a href="classzypp_1_1Date.html#a074091c8a12c693e3ef6badec764cd61">zypp::Date::printTime</a></div><div class="ttdeci">std::string printTime(TimeZoneFormat timeZoneFormat_r, TimeBase base_r=TB_LOCALTIME) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00204">Date.h:204</a></div></div> <div class="ttc" id="namespacezypp_html_a79b689221bcd05c9dc053873163845c6"><div class="ttname"><a href="namespacezypp.html#a79b689221bcd05c9dc053873163845c6">zypp::dumpAsXmlOn</a></div><div class="ttdeci">std::ostream & dumpAsXmlOn(std::ostream &str, const Tp &obj, const std::string &name_r)</div><div class="ttdef"><b>Definition:</b> <a href="Xml_8h_source.html#l00213">Xml.h:213</a></div></div> <div class="ttc" id="classzypp_1_1Date_html_a5a7f0d26f54e072f94a4e946b1378b97"><div class="ttname"><a href="classzypp_1_1Date.html#a5a7f0d26f54e072f94a4e946b1378b97">zypp::Date::operator/</a></div><div class="ttdeci">Date operator/(const time_t rhs) const</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00091">Date.h:91</a></div></div> <div class="ttc" id="structzypp_1_1Date_1_1EDateFormatDef_html_adcbe34976ae1ada91d8ee956773399c0ad6c95f05872dd8f9ecdc27f5e9a5802f"><div class="ttname"><a href="structzypp_1_1Date_1_1EDateFormatDef.html#adcbe34976ae1ada91d8ee956773399c0ad6c95f05872dd8f9ecdc27f5e9a5802f">zypp::Date::EDateFormatDef::ordinal</a></div><div class="ttdoc">2014-038</div><div class="ttdef"><b>Definition:</b> <a href="Date_8h_source.html#l00140">Date.h:140</a></div></div> <div class="ttc" id="classzypp_1_1Exception_html_a90ce3c9322069f3133564a7ddf43cd8d"><div class="ttname"><a href="classzypp_1_1Exception.html#a90ce3c9322069f3133564a7ddf43cd8d">zypp::Exception::msg</a></div><div class="ttdeci">const std::string & msg() const</div><div class="ttdoc">Return the message string provided to the ctor.</div><div class="ttdef"><b>Definition:</b> <a href="Exception_8h_source.html#l00195">Exception.h:195</a></div></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_c187b43c6f283d9fc95eff3f44ce072a.html">zypp</a></li><li class="navelem"><a class="el" href="Date_8h.html">Date.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>