748 lines (539 with data), 54.6 kB
@header@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="matplotlib.html"><font color="#ffffff">matplotlib</font></a>.dates</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/lib/python2.3/site-packages/matplotlib/dates.py">/usr/local/lib/python2.3/site-packages/matplotlib/dates.py</a></font></td></tr></table>
<p><tt>The dates module is built around the assumption that users will want<br>
to specify dates in a variety of ways.<br>
<br>
The goal of the converter classes defined here is to hide all the<br>
conversions required to plot data on the screen from you, and to<br>
provide an abstract interface to matplotlib plotting routines so you<br>
can use date instances of your choice. You pass these converter<br>
classes to date plotting functions and these functions will do the<br>
rest.<br>
<br>
The following converters are provided<br>
<br>
* <a href="#EpochConverter">EpochConverter</a> - dates are seconds since the epoch<br>
<br>
* <a href="#PyDatetimeConverter">PyDatetimeConverter</a> - dates are python2.3 date/datetime instances<br>
<br>
* <a href="#MxDatetimeConverter">MxDatetimeConverter</a> - dates are egenix mx.Datetime instances<br>
<br>
You can provide your own converter by deriving from the base class<br>
<a href="#DateConverter">DateConverter</a> and overriding the methods epoch and from_epoch. If you<br>
define one for a widely used date class, or extend the ones here,<br>
please contribute the code back! All conversions are done to and from<br>
seconds since the epoch locatime.<br>
<br>
Here is an example of how you could plot dates with python datetime<br>
instances in the eastern time zone::<br>
<br>
from matplotlib.dates import <a href="#PyDatetimeConverter">PyDatetimeConverter</a>, Eastern<br>
from matplotlib.matlab import *<br>
<br>
dates = [ dt1, dt2, dt2, ...] # the datetime instances<br>
vals = [ val1, val2, val3, ...] # the y values<br>
converter = <a href="#PyDatetimeConverter">PyDatetimeConverter</a>(Eastern) # dates are in Eastern tz<br>
ax = subplot(111)<br>
plot_date(dates, vals, converter)<br>
<br>
The matplotlib.ticker module provides many custom tick locators and<br>
formatters for you so you don't have to work at the level of<br>
manipulating epoch seconds to set your ticks. Eg, to set the ticks on<br>
the years, you would do::<br>
<br>
from matplotlib.ticker import YearLocator<br>
<br>
... your plot here ...<br>
years = YearLocator(5) # every 5 years<br>
ax.xaxis.set_major_locator(years)<br>
<br>
and the date tick locator will try and pick the best axis range and<br>
tick locations for you, ie, on multiples of 5 years. Although the<br>
default choices will probably be good, if you are unhappy with the<br>
range choices the locator makes for you, you can use your date<br>
instances and converter to specify them yourself, as in::<br>
<br>
dmin = converter( datetime(2002,01,15) )<br>
dmax = converter( datetime(2004,01,15) )<br>
ax.set_xlim( (dmin, dmax) )<br>
<br>
Use date formatters to specify major and minor tick formats. Minor<br>
ticks are off by default, but you can turn them on by passing a date<br>
locator and date formatter to the axis. The relevant methods are::<br>
<br>
ax.xaxis.set_major_locator( majLocator )<br>
ax.xaxis.set_major_formatter( majFormatter )<br>
<br>
ax.xaxis.set_minor_locator( minLocator )<br>
ax.xaxis.set_minor_formatter( minFormatter )<br>
<br>
where majLocator and minLocator are matplotlib.ticker.Locator instance<br>
and majFormatter and minFormatter are matplotlib.ticker.Formatter<br>
instances. Many date locators are provided: MinuteLocator,<br>
HourLocator, DayLocator, WeekdayLocator, MonthLocator, YearLocator.<br>
Most of these take an argument to, for example, select only hours or<br>
years that are multiples of some number. The DateFormatter class<br>
takes a strftime format string to format the dates on the major and<br>
minor ticker. The minor ticker is off by default in all plots so you<br>
will need to set the minor locator if you want to turn them on, and<br>
the minor formatter if you want to label them.<br>
<br>
Here is an example setting the major date formatter<br>
strftime string, as in::<br>
<br>
formatter = DateFormatter('%Y')<br>
ax.xaxis.set_major_formatter(formatter)<br>
<br>
See the examples/dates*.py in the matplotlib src distribution for<br>
complete demos, and the matplotlib.ticker help for more information on<br>
tick locators and formatters.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="time.html">time</a><br>
<a href="math.html">math</a><br>
</td><td width="25%" valign=top><a href="mx.html">mx</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
<a href="time.html">time</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="matplotlib.dates.html#DateConverter">DateConverter</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.dates.html#EpochConverter">EpochConverter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.dates.html#MxDatetimeConverter">MxDatetimeConverter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.dates.html#PyDatetimeConverter">PyDatetimeConverter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.dates.html#intdate">intdate</a>(<a href="__builtin__.html#int">__builtin__.int</a>, <a href="matplotlib.dates.html#DateConverter">DateConverter</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#int">__builtin__.int</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.dates.html#intdate">intdate</a>(<a href="__builtin__.html#int">__builtin__.int</a>, <a href="matplotlib.dates.html#DateConverter">DateConverter</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="datetime.html#tzinfo">datetime.tzinfo</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.dates.html#FixedOffset">FixedOffset</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.dates.html#LocalTimezone">LocalTimezone</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.dates.html#USTimeZone">USTimeZone</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.dates.html#UTC">UTC</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="DateConverter">class <strong>DateConverter</strong></a></font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>An abstract class to allow users to specify dates however they<br>
want. The class provides a standard set of calls which take the<br>
users date instance and convert to to the output indicated. This<br>
allows you to store dates as mx datetimes, python datetimes,<br>
epochs etc.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="DateConverter-__call__"><strong>__call__</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-add_month"><strong>add_month</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one month as epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-add_year"><strong>add_year</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one year as epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-ceil_day"><strong>ceil_day</strong></a>(self, x)</dt><dd><tt>return the ceiled day</tt></dd></dl>
<dl><dt><a name="DateConverter-ceil_hour"><strong>ceil_hour</strong></a>(self, x)</dt><dd><tt>return the ceiled hour as epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-ceil_minute"><strong>ceil_minute</strong></a>(self, x)</dt><dd><tt>return the ceiled minute</tt></dd></dl>
<dl><dt><a name="DateConverter-ceil_month"><strong>ceil_month</strong></a>(self, x)</dt><dd><tt>return the ceiled month</tt></dd></dl>
<dl><dt><a name="DateConverter-ceil_year"><strong>ceil_year</strong></a>(self, x)</dt><dd><tt>return the ceiled year</tt></dd></dl>
<dl><dt><a name="DateConverter-day_of_week"><strong>day_of_week</strong></a>(self, x)</dt><dd><tt>return day of week; monday is 0</tt></dd></dl>
<dl><dt><a name="DateConverter-epoch"><strong>epoch</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-floor_day"><strong>floor_day</strong></a>(self, x)</dt><dd><tt>return the floored day</tt></dd></dl>
<dl><dt><a name="DateConverter-floor_hour"><strong>floor_hour</strong></a>(self, x)</dt><dd><tt>return the floored hour as epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-floor_minute"><strong>floor_minute</strong></a>(self, x)</dt><dd><tt>return the floored minute</tt></dd></dl>
<dl><dt><a name="DateConverter-floor_month"><strong>floor_month</strong></a>(self, x)</dt><dd><tt>return the floored month</tt></dd></dl>
<dl><dt><a name="DateConverter-floor_year"><strong>floor_year</strong></a>(self, x)</dt><dd><tt>return the floored year</tt></dd></dl>
<dl><dt><a name="DateConverter-from_epoch"><strong>from_epoch</strong></a>(self, e)</dt><dd><tt>return an instance of your date from the epoch</tt></dd></dl>
<dl><dt><a name="DateConverter-hms"><strong>hms</strong></a>(self, x)</dt><dd><tt>return the hour, minute, second</tt></dd></dl>
<dl><dt><a name="DateConverter-strftime"><strong>strftime</strong></a>(self, fmt, x)</dt><dd><tt>format x using strftime format string fmt</tt></dd></dl>
<dl><dt><a name="DateConverter-strptime"><strong>strptime</strong></a>(self, datestr, fmt)</dt><dd><tt>return an instance of your date from a date string and fouermat</tt></dd></dl>
<dl><dt><a name="DateConverter-ymd"><strong>ymd</strong></a>(self, x)</dt><dd><tt>return the year month day. month and day are indexed from 1</tt></dd></dl>
<dl><dt><a name="DateConverter-ymdhms_to_epoch"><strong>ymdhms_to_epoch</strong></a>(self, year, month, day, hour, minute, second)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="EpochConverter">class <strong>EpochConverter</strong></a>(<a href="matplotlib.dates.html#DateConverter">DateConverter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Represent time in the epoch<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="EpochConverter-ceil_day"><strong>ceil_day</strong></a>(self, x)</dt><dd><tt>return the ceiled day</tt></dd></dl>
<dl><dt><a name="EpochConverter-ceil_hour"><strong>ceil_hour</strong></a>(self, x)</dt><dd><tt>return the ceiled hour</tt></dd></dl>
<dl><dt><a name="EpochConverter-ceil_minute"><strong>ceil_minute</strong></a>(self, x)</dt><dd><tt>return the ceiled minute</tt></dd></dl>
<dl><dt><a name="EpochConverter-day_of_week"><strong>day_of_week</strong></a>(self, x)</dt><dd><tt>return day of week; monday is 0</tt></dd></dl>
<dl><dt><a name="EpochConverter-epoch"><strong>epoch</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="EpochConverter-floor_day"><strong>floor_day</strong></a>(self, x)</dt><dd><tt>return the floored day</tt></dd></dl>
<dl><dt><a name="EpochConverter-floor_hour"><strong>floor_hour</strong></a>(self, x)</dt><dd><tt>return the floored hour</tt></dd></dl>
<dl><dt><a name="EpochConverter-floor_minute"><strong>floor_minute</strong></a>(self, x)</dt><dd><tt>return the floored minute</tt></dd></dl>
<dl><dt><a name="EpochConverter-from_epoch"><strong>from_epoch</strong></a>(self, e)</dt><dd><tt>return an instance of your date from the epoch</tt></dd></dl>
<dl><dt><a name="EpochConverter-hms"><strong>hms</strong></a>(self, x)</dt><dd><tt>return the hour, minute, second</tt></dd></dl>
<dl><dt><a name="EpochConverter-strftime"><strong>strftime</strong></a>(self, fmt, x)</dt><dd><tt>format x using strftime format string fmt</tt></dd></dl>
<dl><dt><a name="EpochConverter-strptime"><strong>strptime</strong></a>(self, datestr, fmt)</dt><dd><tt>return an instance of your date from a date string and format</tt></dd></dl>
<dl><dt><a name="EpochConverter-ymd"><strong>ymd</strong></a>(self, x)</dt><dd><tt>return the year month day. month and day are indexed from 1</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.dates.html#DateConverter">DateConverter</a>:<br>
<dl><dt><a name="EpochConverter-__call__"><strong>__call__</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="EpochConverter-add_month"><strong>add_month</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one month as epoch</tt></dd></dl>
<dl><dt><a name="EpochConverter-add_year"><strong>add_year</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one year as epoch</tt></dd></dl>
<dl><dt><a name="EpochConverter-ceil_month"><strong>ceil_month</strong></a>(self, x)</dt><dd><tt>return the ceiled month</tt></dd></dl>
<dl><dt><a name="EpochConverter-ceil_year"><strong>ceil_year</strong></a>(self, x)</dt><dd><tt>return the ceiled year</tt></dd></dl>
<dl><dt><a name="EpochConverter-floor_month"><strong>floor_month</strong></a>(self, x)</dt><dd><tt>return the floored month</tt></dd></dl>
<dl><dt><a name="EpochConverter-floor_year"><strong>floor_year</strong></a>(self, x)</dt><dd><tt>return the floored year</tt></dd></dl>
<dl><dt><a name="EpochConverter-ymdhms_to_epoch"><strong>ymdhms_to_epoch</strong></a>(self, year, month, day, hour, minute, second)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FixedOffset">class <strong>FixedOffset</strong></a>(<a href="datetime.html#tzinfo">datetime.tzinfo</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Fixed offset in minutes east from <a href="#UTC">UTC</a>.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.dates.html#FixedOffset">FixedOffset</a></dd>
<dd><a href="datetime.html#tzinfo">datetime.tzinfo</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FixedOffset-__init__"><strong>__init__</strong></a>(self, offset, name)</dt></dl>
<dl><dt><a name="FixedOffset-dst"><strong>dst</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="FixedOffset-tzname"><strong>tzname</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="FixedOffset-utcoffset"><strong>utcoffset</strong></a>(self, dt)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'FixedOffset' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<hr>
Methods inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><a name="FixedOffset-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#FixedOffset-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="FixedOffset-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>-> (cls, state)</tt></dd></dl>
<dl><dt><a name="FixedOffset-fromutc"><strong>fromutc</strong></a>(...)</dt><dd><tt>datetime in <a href="#UTC">UTC</a> -> datetime in local time.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#FixedOffset-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LocalTimezone">class <strong>LocalTimezone</strong></a>(<a href="datetime.html#tzinfo">datetime.tzinfo</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.dates.html#LocalTimezone">LocalTimezone</a></dd>
<dd><a href="datetime.html#tzinfo">datetime.tzinfo</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LocalTimezone-dst"><strong>dst</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="LocalTimezone-tzname"><strong>tzname</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="LocalTimezone-utcoffset"><strong>utcoffset</strong></a>(self, dt)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'LocalTimezone' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<hr>
Methods inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><a name="LocalTimezone-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#LocalTimezone-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="LocalTimezone-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>-> (cls, state)</tt></dd></dl>
<dl><dt><a name="LocalTimezone-fromutc"><strong>fromutc</strong></a>(...)</dt><dd><tt>datetime in <a href="#UTC">UTC</a> -> datetime in local time.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#LocalTimezone-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="MxDatetimeConverter">class <strong>MxDatetimeConverter</strong></a>(<a href="matplotlib.dates.html#DateConverter">DateConverter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Convert egenix mx.Datetime instances<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="MxDatetimeConverter-epoch"><strong>epoch</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-from_epoch"><strong>from_epoch</strong></a>(self, e)</dt><dd><tt>return an instance of your date from the epoch</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.dates.html#DateConverter">DateConverter</a>:<br>
<dl><dt><a name="MxDatetimeConverter-__call__"><strong>__call__</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-add_month"><strong>add_month</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one month as epoch</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-add_year"><strong>add_year</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one year as epoch</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ceil_day"><strong>ceil_day</strong></a>(self, x)</dt><dd><tt>return the ceiled day</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ceil_hour"><strong>ceil_hour</strong></a>(self, x)</dt><dd><tt>return the ceiled hour as epoch</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ceil_minute"><strong>ceil_minute</strong></a>(self, x)</dt><dd><tt>return the ceiled minute</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ceil_month"><strong>ceil_month</strong></a>(self, x)</dt><dd><tt>return the ceiled month</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ceil_year"><strong>ceil_year</strong></a>(self, x)</dt><dd><tt>return the ceiled year</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-day_of_week"><strong>day_of_week</strong></a>(self, x)</dt><dd><tt>return day of week; monday is 0</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-floor_day"><strong>floor_day</strong></a>(self, x)</dt><dd><tt>return the floored day</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-floor_hour"><strong>floor_hour</strong></a>(self, x)</dt><dd><tt>return the floored hour as epoch</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-floor_minute"><strong>floor_minute</strong></a>(self, x)</dt><dd><tt>return the floored minute</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-floor_month"><strong>floor_month</strong></a>(self, x)</dt><dd><tt>return the floored month</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-floor_year"><strong>floor_year</strong></a>(self, x)</dt><dd><tt>return the floored year</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-hms"><strong>hms</strong></a>(self, x)</dt><dd><tt>return the hour, minute, second</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-strftime"><strong>strftime</strong></a>(self, fmt, x)</dt><dd><tt>format x using strftime format string fmt</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-strptime"><strong>strptime</strong></a>(self, datestr, fmt)</dt><dd><tt>return an instance of your date from a date string and fouermat</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ymd"><strong>ymd</strong></a>(self, x)</dt><dd><tt>return the year month day. month and day are indexed from 1</tt></dd></dl>
<dl><dt><a name="MxDatetimeConverter-ymdhms_to_epoch"><strong>ymdhms_to_epoch</strong></a>(self, year, month, day, hour, minute, second)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="PyDatetimeConverter">class <strong>PyDatetimeConverter</strong></a>(<a href="matplotlib.dates.html#DateConverter">DateConverter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Convert python2.3 date or datetime instances<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="PyDatetimeConverter-day_of_week"><strong>day_of_week</strong></a>(self, x)</dt><dd><tt>return day of week; monday is 0</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-epoch"><strong>epoch</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-from_epoch"><strong>from_epoch</strong></a>(self, e)</dt><dd><tt>return an instance of your date from the epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-hms"><strong>hms</strong></a>(self, x)</dt><dd><tt>return the hour, minute, second</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-strftime"><strong>strftime</strong></a>(self, fmt, x)</dt><dd><tt>format x using strftime format string fmt</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-strptime"><strong>strptime</strong></a>(self, datestr, fmt)</dt><dd><tt>return an instance of your date from a date string and format</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ymd"><strong>ymd</strong></a>(self, x)</dt><dd><tt>return the year month day. month and day are indexed from 1</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.dates.html#DateConverter">DateConverter</a>:<br>
<dl><dt><a name="PyDatetimeConverter-__call__"><strong>__call__</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-add_month"><strong>add_month</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one month as epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-add_year"><strong>add_year</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one year as epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ceil_day"><strong>ceil_day</strong></a>(self, x)</dt><dd><tt>return the ceiled day</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ceil_hour"><strong>ceil_hour</strong></a>(self, x)</dt><dd><tt>return the ceiled hour as epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ceil_minute"><strong>ceil_minute</strong></a>(self, x)</dt><dd><tt>return the ceiled minute</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ceil_month"><strong>ceil_month</strong></a>(self, x)</dt><dd><tt>return the ceiled month</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ceil_year"><strong>ceil_year</strong></a>(self, x)</dt><dd><tt>return the ceiled year</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-floor_day"><strong>floor_day</strong></a>(self, x)</dt><dd><tt>return the floored day</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-floor_hour"><strong>floor_hour</strong></a>(self, x)</dt><dd><tt>return the floored hour as epoch</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-floor_minute"><strong>floor_minute</strong></a>(self, x)</dt><dd><tt>return the floored minute</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-floor_month"><strong>floor_month</strong></a>(self, x)</dt><dd><tt>return the floored month</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-floor_year"><strong>floor_year</strong></a>(self, x)</dt><dd><tt>return the floored year</tt></dd></dl>
<dl><dt><a name="PyDatetimeConverter-ymdhms_to_epoch"><strong>ymdhms_to_epoch</strong></a>(self, year, month, day, hour, minute, second)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="USTimeZone">class <strong>USTimeZone</strong></a>(<a href="datetime.html#tzinfo">datetime.tzinfo</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.dates.html#USTimeZone">USTimeZone</a></dd>
<dd><a href="datetime.html#tzinfo">datetime.tzinfo</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="USTimeZone-__init__"><strong>__init__</strong></a>(self, hours, reprname, stdname, dstname)</dt></dl>
<dl><dt><a name="USTimeZone-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="USTimeZone-dst"><strong>dst</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="USTimeZone-tzname"><strong>tzname</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="USTimeZone-utcoffset"><strong>utcoffset</strong></a>(self, dt)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'USTimeZone' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<hr>
Methods inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><a name="USTimeZone-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#USTimeZone-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="USTimeZone-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>-> (cls, state)</tt></dd></dl>
<dl><dt><a name="USTimeZone-fromutc"><strong>fromutc</strong></a>(...)</dt><dd><tt>datetime in <a href="#UTC">UTC</a> -> datetime in local time.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#USTimeZone-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="UTC">class <strong>UTC</strong></a>(<a href="datetime.html#tzinfo">datetime.tzinfo</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt><a href="#UTC">UTC</a><br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.dates.html#UTC">UTC</a></dd>
<dd><a href="datetime.html#tzinfo">datetime.tzinfo</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="UTC-dst"><strong>dst</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="UTC-tzname"><strong>tzname</strong></a>(self, dt)</dt></dl>
<dl><dt><a name="UTC-utcoffset"><strong>utcoffset</strong></a>(self, dt)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'UTC' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<hr>
Methods inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><a name="UTC-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UTC-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="UTC-__reduce__"><strong>__reduce__</strong></a>(...)</dt><dd><tt>-> (cls, state)</tt></dd></dl>
<dl><dt><a name="UTC-fromutc"><strong>fromutc</strong></a>(...)</dt><dd><tt>datetime in <a href="#UTC">UTC</a> -> datetime in local time.</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="datetime.html#tzinfo">datetime.tzinfo</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#UTC-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="intdate">class <strong>intdate</strong></a>(<a href="__builtin__.html#int">__builtin__.int</a>, <a href="matplotlib.dates.html#DateConverter">DateConverter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Subclasses <a href="__builtin__.html#int">int</a> for use as dates.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.dates.html#intdate">intdate</a></dd>
<dd><a href="__builtin__.html#int">__builtin__.int</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
<dd><a href="matplotlib.dates.html#DateConverter">DateConverter</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="intdate-__init__"><strong>__init__</strong></a>(self, ordinal)</dt></dl>
<dl><dt><a name="intdate-date"><strong>date</strong></a>(self)</dt></dl>
<dl><dt><a name="intdate-epoch"><strong>epoch</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="intdate-from_epoch"><strong>from_epoch</strong></a>(self, e)</dt><dd><tt>return an instance of your date from the epoch</tt></dd></dl>
<dl><dt><a name="intdate-isoformat"><strong>isoformat</strong></a>(self)</dt></dl>
<dl><dt><a name="intdate-timetuple"><strong>timetuple</strong></a>(self)</dt></dl>
<hr>
Properties defined here:<br>
<dl><dt><strong>day</strong></dt>
<dd><dl><dt><strong><em>get</em></strong> <em>lambda</em> self</dt></dl>
</dd>
</dl>
<dl><dt><strong>month</strong></dt>
<dd><dl><dt><strong><em>get</em></strong> <em>lambda</em> self</dt></dl>
</dd>
</dl>
<dl><dt><strong>year</strong></dt>
<dd><dl><dt><strong><em>get</em></strong> <em>lambda</em> self</dt></dl>
</dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'intdate' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<hr>
Methods inherited from <a href="__builtin__.html#int">__builtin__.int</a>:<br>
<dl><dt><a name="intdate-__abs__"><strong>__abs__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__abs__">__abs__</a>() <==> abs(x)</tt></dd></dl>
<dl><dt><a name="intdate-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__add__">__add__</a>(y) <==> x+y</tt></dd></dl>
<dl><dt><a name="intdate-__and__"><strong>__and__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__and__">__and__</a>(y) <==> x&y</tt></dd></dl>
<dl><dt><a name="intdate-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="intdate-__coerce__"><strong>__coerce__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__coerce__">__coerce__</a>(y) <==> coerce(x, y)</tt></dd></dl>
<dl><dt><a name="intdate-__div__"><strong>__div__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__div__">__div__</a>(y) <==> x/y</tt></dd></dl>
<dl><dt><a name="intdate-__divmod__"><strong>__divmod__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__divmod__">__divmod__</a>(y) <==> xdivmod(x, y)y</tt></dd></dl>
<dl><dt><a name="intdate-__float__"><strong>__float__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__float__">__float__</a>() <==> float(x)</tt></dd></dl>
<dl><dt><a name="intdate-__floordiv__"><strong>__floordiv__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__floordiv__">__floordiv__</a>(y) <==> x//y</tt></dd></dl>
<dl><dt><a name="intdate-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="intdate-__getnewargs__"><strong>__getnewargs__</strong></a>(...)</dt></dl>
<dl><dt><a name="intdate-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="intdate-__hex__"><strong>__hex__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__hex__">__hex__</a>() <==> hex(x)</tt></dd></dl>
<dl><dt><a name="intdate-__int__"><strong>__int__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__int__">__int__</a>() <==> <a href="__builtin__.html#int">int</a>(x)</tt></dd></dl>
<dl><dt><a name="intdate-__invert__"><strong>__invert__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__invert__">__invert__</a>() <==> ~x</tt></dd></dl>
<dl><dt><a name="intdate-__long__"><strong>__long__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__long__">__long__</a>() <==> long(x)</tt></dd></dl>
<dl><dt><a name="intdate-__lshift__"><strong>__lshift__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__lshift__">__lshift__</a>(y) <==> x<<y</tt></dd></dl>
<dl><dt><a name="intdate-__mod__"><strong>__mod__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__mod__">__mod__</a>(y) <==> x%y</tt></dd></dl>
<dl><dt><a name="intdate-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__mul__">__mul__</a>(y) <==> x*y</tt></dd></dl>
<dl><dt><a name="intdate-__neg__"><strong>__neg__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__neg__">__neg__</a>() <==> -x</tt></dd></dl>
<dl><dt><a name="intdate-__nonzero__"><strong>__nonzero__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__nonzero__">__nonzero__</a>() <==> x != 0</tt></dd></dl>
<dl><dt><a name="intdate-__oct__"><strong>__oct__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__oct__">__oct__</a>() <==> oct(x)</tt></dd></dl>
<dl><dt><a name="intdate-__or__"><strong>__or__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__or__">__or__</a>(y) <==> x|y</tt></dd></dl>
<dl><dt><a name="intdate-__pos__"><strong>__pos__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__pos__">__pos__</a>() <==> +x</tt></dd></dl>
<dl><dt><a name="intdate-__pow__"><strong>__pow__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__pow__">__pow__</a>(y[, z]) <==> pow(x, y[, z])</tt></dd></dl>
<dl><dt><a name="intdate-__radd__"><strong>__radd__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__radd__">__radd__</a>(y) <==> y+x</tt></dd></dl>
<dl><dt><a name="intdate-__rand__"><strong>__rand__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rand__">__rand__</a>(y) <==> y&x</tt></dd></dl>
<dl><dt><a name="intdate-__rdiv__"><strong>__rdiv__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rdiv__">__rdiv__</a>(y) <==> y/x</tt></dd></dl>
<dl><dt><a name="intdate-__rdivmod__"><strong>__rdivmod__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rdivmod__">__rdivmod__</a>(y) <==> ydivmod(y, x)x</tt></dd></dl>
<dl><dt><a name="intdate-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="intdate-__rfloordiv__"><strong>__rfloordiv__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rfloordiv__">__rfloordiv__</a>(y) <==> y//x</tt></dd></dl>
<dl><dt><a name="intdate-__rlshift__"><strong>__rlshift__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rlshift__">__rlshift__</a>(y) <==> y<<x</tt></dd></dl>
<dl><dt><a name="intdate-__rmod__"><strong>__rmod__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rmod__">__rmod__</a>(y) <==> y%x</tt></dd></dl>
<dl><dt><a name="intdate-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rmul__">__rmul__</a>(y) <==> y*x</tt></dd></dl>
<dl><dt><a name="intdate-__ror__"><strong>__ror__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__ror__">__ror__</a>(y) <==> y|x</tt></dd></dl>
<dl><dt><a name="intdate-__rpow__"><strong>__rpow__</strong></a>(...)</dt><dd><tt>y.<a href="#intdate-__rpow__">__rpow__</a>(x[, z]) <==> pow(x, y[, z])</tt></dd></dl>
<dl><dt><a name="intdate-__rrshift__"><strong>__rrshift__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rrshift__">__rrshift__</a>(y) <==> y>>x</tt></dd></dl>
<dl><dt><a name="intdate-__rshift__"><strong>__rshift__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rshift__">__rshift__</a>(y) <==> x>>y</tt></dd></dl>
<dl><dt><a name="intdate-__rsub__"><strong>__rsub__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rsub__">__rsub__</a>(y) <==> y-x</tt></dd></dl>
<dl><dt><a name="intdate-__rtruediv__"><strong>__rtruediv__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rtruediv__">__rtruediv__</a>(y) <==> y/x</tt></dd></dl>
<dl><dt><a name="intdate-__rxor__"><strong>__rxor__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__rxor__">__rxor__</a>(y) <==> y^x</tt></dd></dl>
<dl><dt><a name="intdate-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
<dl><dt><a name="intdate-__sub__"><strong>__sub__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__sub__">__sub__</a>(y) <==> x-y</tt></dd></dl>
<dl><dt><a name="intdate-__truediv__"><strong>__truediv__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__truediv__">__truediv__</a>(y) <==> x/y</tt></dd></dl>
<dl><dt><a name="intdate-__xor__"><strong>__xor__</strong></a>(...)</dt><dd><tt>x.<a href="#intdate-__xor__">__xor__</a>(y) <==> x^y</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#int">__builtin__.int</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#intdate-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<hr>
Methods inherited from <a href="matplotlib.dates.html#DateConverter">DateConverter</a>:<br>
<dl><dt><a name="intdate-__call__"><strong>__call__</strong></a>(self, x)</dt><dd><tt>convert userland datetime instance x to epoch</tt></dd></dl>
<dl><dt><a name="intdate-add_month"><strong>add_month</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one month as epoch</tt></dd></dl>
<dl><dt><a name="intdate-add_year"><strong>add_year</strong></a>(self, x, direction<font color="#909090">=1</font>)</dt><dd><tt>return now plus one year as epoch</tt></dd></dl>
<dl><dt><a name="intdate-ceil_day"><strong>ceil_day</strong></a>(self, x)</dt><dd><tt>return the ceiled day</tt></dd></dl>
<dl><dt><a name="intdate-ceil_hour"><strong>ceil_hour</strong></a>(self, x)</dt><dd><tt>return the ceiled hour as epoch</tt></dd></dl>
<dl><dt><a name="intdate-ceil_minute"><strong>ceil_minute</strong></a>(self, x)</dt><dd><tt>return the ceiled minute</tt></dd></dl>
<dl><dt><a name="intdate-ceil_month"><strong>ceil_month</strong></a>(self, x)</dt><dd><tt>return the ceiled month</tt></dd></dl>
<dl><dt><a name="intdate-ceil_year"><strong>ceil_year</strong></a>(self, x)</dt><dd><tt>return the ceiled year</tt></dd></dl>
<dl><dt><a name="intdate-day_of_week"><strong>day_of_week</strong></a>(self, x)</dt><dd><tt>return day of week; monday is 0</tt></dd></dl>
<dl><dt><a name="intdate-floor_day"><strong>floor_day</strong></a>(self, x)</dt><dd><tt>return the floored day</tt></dd></dl>
<dl><dt><a name="intdate-floor_hour"><strong>floor_hour</strong></a>(self, x)</dt><dd><tt>return the floored hour as epoch</tt></dd></dl>
<dl><dt><a name="intdate-floor_minute"><strong>floor_minute</strong></a>(self, x)</dt><dd><tt>return the floored minute</tt></dd></dl>
<dl><dt><a name="intdate-floor_month"><strong>floor_month</strong></a>(self, x)</dt><dd><tt>return the floored month</tt></dd></dl>
<dl><dt><a name="intdate-floor_year"><strong>floor_year</strong></a>(self, x)</dt><dd><tt>return the floored year</tt></dd></dl>
<dl><dt><a name="intdate-hms"><strong>hms</strong></a>(self, x)</dt><dd><tt>return the hour, minute, second</tt></dd></dl>
<dl><dt><a name="intdate-strftime"><strong>strftime</strong></a>(self, fmt, x)</dt><dd><tt>format x using strftime format string fmt</tt></dd></dl>
<dl><dt><a name="intdate-strptime"><strong>strptime</strong></a>(self, datestr, fmt)</dt><dd><tt>return an instance of your date from a date string and fouermat</tt></dd></dl>
<dl><dt><a name="intdate-ymd"><strong>ymd</strong></a>(self, x)</dt><dd><tt>return the year month day. month and day are indexed from 1</tt></dd></dl>
<dl><dt><a name="intdate-ymdhms_to_epoch"><strong>ymdhms_to_epoch</strong></a>(self, year, month, day, hour, minute, second)</dt></dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-first_sunday_on_or_after"><strong>first_sunday_on_or_after</strong></a>(dt)</dt></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>Central</strong> = Central<br>
<strong>DSTDIFF</strong> = datetime.timedelta(0, 3600)<br>
<strong>DSTEND</strong> = datetime.datetime(1, 10, 25, 1, 0)<br>
<strong>DSTOFFSET</strong> = datetime.timedelta(-1, 68400)<br>
<strong>DSTSTART</strong> = datetime.datetime(1, 4, 1, 2, 0)<br>
<strong>Eastern</strong> = Eastern<br>
<strong>FRIDAY</strong> = 4<br>
<strong>HOUR</strong> = datetime.timedelta(0, 3600)<br>
<strong>Local</strong> = <matplotlib.dates.LocalTimezone object><br>
<strong>MONDAY</strong> = 0<br>
<strong>Mountain</strong> = Mountain<br>
<strong>Pacific</strong> = Pacific<br>
<strong>SATURDAY</strong> = 5<br>
<strong>SEC_PER_DAY</strong> = 86400<br>
<strong>SEC_PER_HOUR</strong> = 3600<br>
<strong>SEC_PER_MIN</strong> = 60<br>
<strong>SEC_PER_WEEK</strong> = 604800<br>
<strong>STDOFFSET</strong> = datetime.timedelta(-1, 64800)<br>
<strong>SUNDAY</strong> = 6<br>
<strong>THURSDAY</strong> = 3<br>
<strong>TUESDAY</strong> = 1<br>
<strong>WEDNESDAY</strong> = 2<br>
<strong>WEEKDAYS</strong> = (0, 1, 2, 3, 4, 5, 6)<br>
<strong>ZERO</strong> = datetime.timedelta(0)<br>
<strong>__warningregistry__</strong> = {('integer multiplication', <class exceptions.OverflowWarning>, 158): 1, ('integer multiplication', <class exceptions.OverflowWarning>, 160): 1}<br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)<br>
<strong>utc</strong> = <matplotlib.dates.UTC object></td></tr></table>
@footer@