Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 1150

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kalarm/lib: DateTime Class Reference (kalarm/lib)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>
  <img id="nav_header_logo_right" alt="" align="right" src="../../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_left" style="text-align: left;">
/ <a href="../../../">API Reference</a>
 / <a href="../../html/index.html">kalarm</a> / <a href=".">lib</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <h2><a name="content"></a>kalarm/lib</h2>


<!-- Generated by Doxygen 1.5.5 -->
<div class="contents">
<h1>DateTime Class Reference</h1><!-- doxytag: class="DateTime" --><code>#include &lt;<a class="el" href="datetime_8h-source.html">datetime.h</a>&gt;</code>
<p>

<p>
<a href="classDateTime-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A QDateTime with date-only option. 
<p>
The <a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> class holds a date, with or without a time.<p>
<a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> is very similar to the QDateTime class, with the additional option to hold a date-only value. This allows a single date-time representation to be used for both an event having a specific date and time, and an all-day event.<p>
The time assumed for date-only values is the start-of-day time set by <a class="el" href="classDateTime.html#d522b76f0985cc8682180168e153b987" title="Sets the start-of-day time.">setStartOfDay()</a>.<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>David Jarvie &lt;<a href="mailto:software@astrojar.org.uk">software@astrojar.org.uk</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00039">39</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#3ccfb87f7a2e9683b91964e32d907161">DateTime</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#72b769204e98746ad1dff0a6eebfb98a">DateTime</a> (const QDate &amp;d)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#e0153f33a63ea6b9f502f60b977bacc2">DateTime</a> (const QDate &amp;d, const QTime &amp;t)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#5c3a92b333e13f96dcb3b5b505422d81">DateTime</a> (const QDateTime &amp;dt, bool dateOnly=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#b19daa0c03d0310994378ea2672994fc">operator=</a> (const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#866d792127d90a992bd7886a9e825725">operator=</a> (const QDateTime &amp;dt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#52d02f54797b7a075df8888f0d38c0c8">operator=</a> (const QDate &amp;d)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#1048008cb7de2fbb592abd81c378b8e1">isNull</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#d3814eef67c9447799162f6f334918a5">isValid</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#223a143ebc634254308d6d09e57e8d29">isDateOnly</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#43e4a7572420c1b7526ca937bfa21ca3">setDateOnly</a> (bool d)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QDate&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#cafd8b4c298ac28d161a054a37275133">date</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#6f9c20253cd2def3ebdf5adcef4406da">time</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QDateTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#30cea2481bd710033d3834d9003910ee">dateTime</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QDateTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#a16e49721f117cd7ee54e4c7beb89279">rawDateTime</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#3740c0a6a593dd973777cc1e61df5530">set</a> (const QDateTime &amp;dt, bool dateOnly=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#a648546677e56609627a1c5f92efd677">set</a> (const QDate &amp;d, const QTime &amp;t)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#53c00bd620f3f363d6f1c83cbc9b61ea">setTime</a> (const QTime &amp;t)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#07b48b4a2498dc6caef33bfeb07c28a8">setTime_t</a> (uint secs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#e3383baa492abf0f1816e68eeda7a79b">addSecs</a> (int n) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#8a9e7e7ebd994124acab06a3dbff10a6">addMins</a> (int n) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#8547abf8aec4efa7c6f9117c7e06a155">addDays</a> (int n) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#ee60316cce680c13658e7611b39c03b9">addMonths</a> (int n) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDateTime.html">DateTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#669eaa82d8fe1e107effcd903ecc2ae6">addYears</a> (int n) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#ee5481854648702d85b96d55ae03bdc7">daysTo</a> (const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#25f195a83e3b87c98e410aec5fd9b09d">minsTo</a> (const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#ccdb719c15b46bcd552a443c04511290">secsTo</a> (const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#b56d99004202647432f26dd4a9c29495">toString</a> (Qt::DateFormat f=Qt::TextDate) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#6deb416158a02c4ec2b614513a993d0e">toString</a> (const QString &amp;format) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#96e0d5dd9803853a8f9c1186eadb8da1">formatLocale</a> (bool shortFormat=true) const </td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#d522b76f0985cc8682180168e153b987">setStartOfDay</a> (const QTime &amp;sod)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static QTime&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#1e9d76b024c1b0acfcbad02ac1780205">startOfDay</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#91d7fafdbeefa54fd0a1d3b94603e080">operator==</a> (const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt1, const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTime.html#02e5f64a02e89468a0941b89aeaffcc5">operator&lt;</a> (const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt1, const <a class="el" href="classDateTime.html">DateTime</a> &amp;dt2)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3ccfb87f7a2e9683b91964e32d907161"></a><!-- doxytag: member="DateTime::DateTime" ref="3ccfb87f7a2e9683b91964e32d907161" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTime::DateTime           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor. 
<p>
Constructs an invalid date-time. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00045">45</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="72b769204e98746ad1dff0a6eebfb98a"></a><!-- doxytag: member="DateTime::DateTime" ref="72b769204e98746ad1dff0a6eebfb98a" args="(const QDate &amp;d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTime::DateTime           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor for a date-only value. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00047">47</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e0153f33a63ea6b9f502f60b977bacc2"></a><!-- doxytag: member="DateTime::DateTime" ref="e0153f33a63ea6b9f502f60b977bacc2" args="(const QDate &amp;d, const QTime &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTime::DateTime           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor for a date-time value. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00049">49</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c3a92b333e13f96dcb3b5b505422d81"></a><!-- doxytag: member="DateTime::DateTime" ref="5c3a92b333e13f96dcb3b5b505422d81" args="(const QDateTime &amp;dt, bool dateOnly=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTime::DateTime           </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dateOnly</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor for a date-time or date-only value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dt</em>&nbsp;</td><td>the date and time to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dateOnly</em>&nbsp;</td><td>True to construct a date-only value; false to construct a date-time value. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00055">55</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b19daa0c03d0310994378ea2672994fc"></a><!-- doxytag: member="DateTime::operator=" ref="b19daa0c03d0310994378ea2672994fc" args="(const DateTime &amp;dt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a>&amp; DateTime::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
Sets the value to a specified date-time or date-only value. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00061">61</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="866d792127d90a992bd7886a9e825725"></a><!-- doxytag: member="DateTime::operator=" ref="866d792127d90a992bd7886a9e825725" args="(const QDateTime &amp;dt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a>&amp; DateTime::operator=           </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
Sets the value to a specified date-time. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00066">66</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="52d02f54797b7a075df8888f0d38c0c8"></a><!-- doxytag: member="DateTime::operator=" ref="52d02f54797b7a075df8888f0d38c0c8" args="(const QDate &amp;d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a>&amp; DateTime::operator=           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
Sets the value to a specified date-only value. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00071">71</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1048008cb7de2fbb592abd81c378b8e1"></a><!-- doxytag: member="DateTime::isNull" ref="1048008cb7de2fbb592abd81c378b8e1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DateTime::isNull           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the date is null and, if it is a date-time value, the time is also null. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00074">74</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d3814eef67c9447799162f6f334918a5"></a><!-- doxytag: member="DateTime::isValid" ref="d3814eef67c9447799162f6f334918a5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DateTime::isValid           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the date is valid and, if it is a date-time value, the time is also valid. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00076">76</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="223a143ebc634254308d6d09e57e8d29"></a><!-- doxytag: member="DateTime::isDateOnly" ref="223a143ebc634254308d6d09e57e8d29" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DateTime::isDateOnly           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if it is date-only value. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00078">78</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="43e4a7572420c1b7526ca937bfa21ca3"></a><!-- doxytag: member="DateTime::setDateOnly" ref="43e4a7572420c1b7526ca937bfa21ca3" args="(bool d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DateTime::setDateOnly           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>d</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the value to be either date-only or date-time. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&nbsp;</td><td>True to set the value to be date-only; false to set it to a date-time value. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00082">82</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="cafd8b4c298ac28d161a054a37275133"></a><!-- doxytag: member="DateTime::date" ref="cafd8b4c298ac28d161a054a37275133" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QDate DateTime::date           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the date part of the value. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00087">87</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="6f9c20253cd2def3ebdf5adcef4406da"></a><!-- doxytag: member="DateTime::time" ref="6f9c20253cd2def3ebdf5adcef4406da" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTime DateTime::time           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the time part of the value. 
<p>
If the value is date-only, the time returned is the start-of-day time set by <a class="el" href="classDateTime.html#d522b76f0985cc8682180168e153b987" title="Sets the start-of-day time.">setStartOfDay()</a>. 
<p>Definition at line <a class="el" href="datetime_8cpp-source.html#l00029">29</a> of file <a class="el" href="datetime_8cpp-source.html">datetime.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="30cea2481bd710033d3834d9003910ee"></a><!-- doxytag: member="DateTime::dateTime" ref="30cea2481bd710033d3834d9003910ee" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QDateTime DateTime::dateTime           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the date and time of the value. 
<p>
If the value is date-only, the time part returned is equal to the start-of-day time set by <a class="el" href="classDateTime.html#d522b76f0985cc8682180168e153b987" title="Sets the start-of-day time.">setStartOfDay()</a>. 
<p>Definition at line <a class="el" href="datetime_8cpp-source.html#l00034">34</a> of file <a class="el" href="datetime_8cpp-source.html">datetime.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="a16e49721f117cd7ee54e4c7beb89279"></a><!-- doxytag: member="DateTime::rawDateTime" ref="a16e49721f117cd7ee54e4c7beb89279" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QDateTime DateTime::rawDateTime           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the date and time of the value. 
<p>
if the value is date-only, the time part returned is 00:00:00. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00100">100</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3740c0a6a593dd973777cc1e61df5530"></a><!-- doxytag: member="DateTime::set" ref="3740c0a6a593dd973777cc1e61df5530" args="(const QDateTime &amp;dt, bool dateOnly=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DateTime::set           </td>
          <td>(</td>
          <td class="paramtype">const QDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>dateOnly</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets a date-time or date-only value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dt</em>&nbsp;</td><td>the date-time to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dateOnly</em>&nbsp;</td><td>True to set a date-only value; false to set a date-time value. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00105">105</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a648546677e56609627a1c5f92efd677"></a><!-- doxytag: member="DateTime::set" ref="a648546677e56609627a1c5f92efd677" args="(const QDate &amp;d, const QTime &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DateTime::set           </td>
          <td>(</td>
          <td class="paramtype">const QDate &amp;&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets a date-time value. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00114">114</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="53c00bd620f3f363d6f1c83cbc9b61ea"></a><!-- doxytag: member="DateTime::setTime" ref="53c00bd620f3f363d6f1c83cbc9b61ea" args="(const QTime &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DateTime::setTime           </td>
          <td>(</td>
          <td class="paramtype">const QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the time component of the value. 
<p>
The value is converted if necessary to be a date-time value. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00119">119</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="07b48b4a2498dc6caef33bfeb07c28a8"></a><!-- doxytag: member="DateTime::setTime_t" ref="07b48b4a2498dc6caef33bfeb07c28a8" args="(uint secs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DateTime::setTime_t           </td>
          <td>(</td>
          <td class="paramtype">uint&nbsp;</td>
          <td class="paramname"> <em>secs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the value to a specified date-time value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>secs</em>&nbsp;</td><td>The time_t date-time value, expressed as the number of seconds elapsed since 1970-01-01 00:00:00 UTC. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00124">124</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e3383baa492abf0f1816e68eeda7a79b"></a><!-- doxytag: member="DateTime::addSecs" ref="e3383baa492abf0f1816e68eeda7a79b" args="(int n) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a> DateTime::addSecs           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a <a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> value <code>secs</code> seconds later than the value of this object. 
<p>
If this object is date-only, <code>secs</code> is first rounded down to a whole number of days before adding the value. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00129">129</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8a9e7e7ebd994124acab06a3dbff10a6"></a><!-- doxytag: member="DateTime::addMins" ref="8a9e7e7ebd994124acab06a3dbff10a6" args="(int n) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a> DateTime::addMins           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a <a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> value <code>mins</code> minutes later than the value of this object. 
<p>
If this object is date-only, <code>mins</code> is first rounded down to a whole number of days before adding the value. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00140">140</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8547abf8aec4efa7c6f9117c7e06a155"></a><!-- doxytag: member="DateTime::addDays" ref="8547abf8aec4efa7c6f9117c7e06a155" args="(int n) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a> DateTime::addDays           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a <a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> value <code>n</code> days later than the value of this object. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00148">148</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ee60316cce680c13658e7611b39c03b9"></a><!-- doxytag: member="DateTime::addMonths" ref="ee60316cce680c13658e7611b39c03b9" args="(int n) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a> DateTime::addMonths           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a <a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> value <code>n</code> months later than the value of this object. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00150">150</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="669eaa82d8fe1e107effcd903ecc2ae6"></a><!-- doxytag: member="DateTime::addYears" ref="669eaa82d8fe1e107effcd903ecc2ae6" args="(int n) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTime.html">DateTime</a> DateTime::addYears           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a <a class="el" href="classDateTime.html" title="A QDateTime with date-only option.">DateTime</a> value <code>n</code> years later than the value of this object. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00152">152</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ee5481854648702d85b96d55ae03bdc7"></a><!-- doxytag: member="DateTime::daysTo" ref="ee5481854648702d85b96d55ae03bdc7" args="(const DateTime &amp;dt) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DateTime::daysTo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the number of days from this date or date-time to <code>dt</code>. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00154">154</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="25f195a83e3b87c98e410aec5fd9b09d"></a><!-- doxytag: member="DateTime::minsTo" ref="25f195a83e3b87c98e410aec5fd9b09d" args="(const DateTime &amp;dt) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DateTime::minsTo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the number of minutes from this date or date-time to <code>dt</code>. 
<p>
If either of the values is date-only, the result is calculated by simply taking the difference in dates and ignoring the times. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00160">160</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ccdb719c15b46bcd552a443c04511290"></a><!-- doxytag: member="DateTime::secsTo" ref="ccdb719c15b46bcd552a443c04511290" args="(const DateTime &amp;dt) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DateTime::secsTo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the number of seconds from this date or date-time to <code>dt</code>. 
<p>
If either of the values is date-only, the result is calculated by simply taking the difference in dates and ignoring the times. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00166">166</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="b56d99004202647432f26dd4a9c29495"></a><!-- doxytag: member="DateTime::toString" ref="b56d99004202647432f26dd4a9c29495" args="(Qt::DateFormat f=Qt::TextDate) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString DateTime::toString           </td>
          <td>(</td>
          <td class="paramtype">Qt::DateFormat&nbsp;</td>
          <td class="paramname"> <em>f</em> = <code>Qt::TextDate</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the value as a string. 
<p>
If it is a date-time, both time and date are included in the output. If it is date-only, only the date is included in the output. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00172">172</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="6deb416158a02c4ec2b614513a993d0e"></a><!-- doxytag: member="DateTime::toString" ref="6deb416158a02c4ec2b614513a993d0e" args="(const QString &amp;format) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString DateTime::toString           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>format</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the value as a string. 
<p>
If it is a date-time, both time and date are included in the output. If it is date-only, only the date is included in the output. 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00185">185</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="96e0d5dd9803853a8f9c1186eadb8da1"></a><!-- doxytag: member="DateTime::formatLocale" ref="96e0d5dd9803853a8f9c1186eadb8da1" args="(bool shortFormat=true) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString DateTime::formatLocale           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>shortFormat</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the value as a string, formatted according to the user's locale. 
<p>
If it is a date-time, both time and date are included in the output. If it is date-only, only the date is included in the output. 
<p>Definition at line <a class="el" href="datetime_8cpp-source.html#l00039">39</a> of file <a class="el" href="datetime_8cpp-source.html">datetime.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d522b76f0985cc8682180168e153b987"></a><!-- doxytag: member="DateTime::setStartOfDay" ref="d522b76f0985cc8682180168e153b987" args="(const QTime &amp;sod)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void DateTime::setStartOfDay           </td>
          <td>(</td>
          <td class="paramtype">const QTime &amp;&nbsp;</td>
          <td class="paramname"> <em>sod</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the start-of-day time. 
<p>
The default value is midnight (0000 hrs). 
<p>Definition at line <a class="el" href="datetime_8h-source.html#l00202">202</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1e9d76b024c1b0acfcbad02ac1780205"></a><!-- doxytag: member="DateTime::startOfDay" ref="1e9d76b024c1b0acfcbad02ac1780205" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static QTime DateTime::startOfDay           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the start-of-day time. 
<p>

<p>Definition at line <a class="el" href="datetime_8h-source.html#l00204">204</a> of file <a class="el" href="datetime_8h-source.html">datetime.h</a>.</p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="91d7fafdbeefa54fd0a1d3b94603e080"></a><!-- doxytag: member="DateTime::operator==" ref="91d7fafdbeefa54fd0a1d3b94603e080" args="(const DateTime &amp;dt1, const DateTime &amp;dt2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the two values are equal. 
<p>

<p>Definition at line <a class="el" href="datetime_8cpp-source.html#l00049">49</a> of file <a class="el" href="datetime_8cpp-source.html">datetime.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="02e5f64a02e89468a0941b89aeaffcc5"></a><!-- doxytag: member="DateTime::operator&lt;" ref="02e5f64a02e89468a0941b89aeaffcc5" args="(const DateTime &amp;dt1, const DateTime &amp;dt2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt;           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDateTime.html">DateTime</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dt2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the <code>dt1</code> is earlier than <code>dt2</code>. 
<p>
If the two values have the same date, and one value is date-only while the other is a date-time, the time used for the date-only value is the start-of-day time set in the KAlarm Preferences dialogue. 
<p>Definition at line <a class="el" href="datetime_8cpp-source.html#l00068">68</a> of file <a class="el" href="datetime_8cpp-source.html">datetime.cpp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="datetime_8h-source.html">datetime.h</a><li><a class="el" href="datetime_8cpp-source.html">datetime.cpp</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kalarm/lib</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classButtonGroup.html">buttongroup</option>,  <option value="classCheckBox.html">checkbox</option>,  <option value="classColourCombo.html">colourcombo</option>,  <option value="classColourList.html">colourlist</option>,  <option value="classComboBox.html">combobox</option>,  <option value="classDailyTimer.html">dailytimer</option>,  <option value="classDateEdit.html">dateedit</option>,  <option value="classDateTime.html">datetime</option>,  <option value="classLabel.html">label</option>,  <option value="classLineEdit.html">lineedit</option>,  <option value="classMessageBox.html">messagebox</option>,  <option value="classMidnightTimer.html">midnighttimer</option>,  <option value="classMinuteTimer.html">minutetimer</option>,  <option value="classPushButton.html">pushbutton</option>,  <option value="classRadioButton.html">radiobutton</option>,  <option value="classShellProcess.html">shellprocess</option>,  <option value="classSlider.html">slider</option>,  <option value="classSpinBox.html">spinbox</option>,  <option value="classSpinBox2.html">spinbox2</option>,  <option value="classSynchTimer.html">synchtimer</option>,  <option value="classTimeEdit.html">timeedit</option>,  <option value="classTimePeriod.html">timeperiod</option>,  <option value="classTimeSpinBox.html">timespinbox</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../../kandy/html/index.html">kandy</a></li><li><a href="../../../karm/html/index.html">karm</a></li><li><a href="../../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../../kgantt/html/index.html">kgantt</a></li><li><a href="../../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../../kmail/html/index.html">kmail</a></li><li><a href="../../../knotes/html/index.html">knotes</a></li><li><a href="../../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../../kontact/html/index.html">kontact</a></li><li><a href="../../../korganizer/html/index.html">korganizer</a></li><li><a href="../../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../../libkcal/html/index.html">libkcal</a></li><li><a href="../../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../../libkmime/html/index.html">libkmime</a></li><li><a href="../../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../../libkpimidentities/html/index.html">libkpimidentities</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>