<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>TimeISOT — Astropy v0.2.4</title> <link rel="stylesheet" href="../_static/bootstrap-astropy.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '0.2.4', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/sidebar.js"></script> <link rel="shortcut icon" href="../_static/astropy_logo.ico"/> <link rel="top" title="Astropy v0.2.4" href="../index.html" /> <link rel="up" title="Time and Dates (astropy.time)" href="../time/index.html" /> <link rel="next" title="TimeJD" href="astropy.time.core.TimeJD.html" /> <link rel="prev" title="TimeISO" href="astropy.time.core.TimeISO.html" /> </head> <body> <div class="topbar"> <a class="brand" title="Documentation Home" href="../index.html"></a> <ul> <li><a class="homelink" title="AstroPy Homepage" href="http://www.astropy.org"></a></li> <li><a title="General Index" href="../genindex.html">Index</a></li> <li><a title="Python Module Index" href="../py-modindex.html">Modules</a></li> <li> <form action="../search.html" method="get"> <input type="text" name="q" placeholder="Search" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </li> </ul> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right"> <a href="astropy.time.core.TimeJD.html" title="TimeJD"> next » </a> </li> <li class="right"> <a href="astropy.time.core.TimeISO.html" title="TimeISO"> « previous </a> | </li> <li> <a href="../index.html">Astropy v0.2.4</a> » </li> <li><a href="../time/index.html" accesskey="U">Time and Dates (<tt class="docutils literal"><span class="pre">astropy.time</span></tt>)</a> »</li> <li>TimeISOT</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="timeisot"> <h1>TimeISOT<a class="headerlink" href="#timeisot" title="Permalink to this headline">¶</a></h1> <dl class="class"> <dt id="astropy.time.core.TimeISOT"> <em class="property">class </em><tt class="descclassname">astropy.time.core.</tt><tt class="descname">TimeISOT</tt><big>(</big><em>val1</em>, <em>val2</em>, <em>scale</em>, <em>precision</em>, <em>in_subfmt</em>, <em>out_subfmt</em>, <em>from_jd=False</em><big>)</big><a class="reference external" href="http://github.com/astropy/astropy/tree/v0.2.4/astropy/time/core.py#L1003" title="Push the Edit button on the next page"><span class="edit-on-github viewcode-link"> [edit on github]</span></a><a class="reference internal" href="../_modules/astropy/time/core.html#TimeISOT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#astropy.time.core.TimeISOT" title="Permalink to this definition">¶</a></dt> <dd><p>Bases: <a class="reference internal" href="astropy.time.core.TimeString.html#astropy.time.core.TimeString" title="astropy.time.core.TimeString"><tt class="xref py py-class docutils literal"><span class="pre">astropy.time.core.TimeString</span></tt></a></p> <p>ISO 8601 compliant date-time format “YYYY-MM-DDTHH:MM:SS.sss...”. This is the same as TimeISO except for a “T” instead of space between the date and time.</p> <p>The allowed subformats are:</p> <ul class="simple"> <li>‘date_hms’: date + hours, mins, secs (and optional fractional secs)</li> <li>‘date_hm’: date + hours, mins</li> <li>‘date’: date</li> </ul> <p class="rubric">Attributes Summary</p> <table border="1" class="longtable docutils"> <colgroup> <col width="10%" /> <col width="90%" /> </colgroup> <tbody valign="top"> <tr class="row-odd"><td><a class="reference internal" href="#astropy.time.core.TimeISOT.name" title="astropy.time.core.TimeISOT.name"><tt class="xref py py-obj docutils literal"><span class="pre">name</span></tt></a></td> <td>str(object=’‘) -> string</td> </tr> <tr class="row-even"><td><a class="reference internal" href="#astropy.time.core.TimeISOT.subfmts" title="astropy.time.core.TimeISOT.subfmts"><tt class="xref py py-obj docutils literal"><span class="pre">subfmts</span></tt></a></td> <td>tuple() -> empty tuple</td> </tr> </tbody> </table> <p class="rubric">Attributes Documentation</p> <dl class="attribute"> <dt id="astropy.time.core.TimeISOT.name"> <tt class="descname">name</tt><em class="property"> = 'isot'</em><a class="headerlink" href="#astropy.time.core.TimeISOT.name" title="Permalink to this definition">¶</a></dt> <dd></dd></dl> <dl class="attribute"> <dt id="astropy.time.core.TimeISOT.subfmts"> <tt class="descname">subfmts</tt><em class="property"> = (('date_hms', '%Y-%m-%dT%H:%M:%S', '{year:d}-{mon:02d}-{day:02d}T{hour:02d}:{min:02d}:{sec:02d}'), ('date_hm', '%Y-%m-%dT%H:%M', '{year:d}-{mon:02d}-{day:02d}T{hour:02d}:{min:02d}'), ('date', '%Y-%m-%d', '{year:d}-{mon:02d}-{day:02d}'))</em><a class="headerlink" href="#astropy.time.core.TimeISOT.subfmts" title="Permalink to this definition">¶</a></dt> <dd></dd></dl> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"><h3>Page Contents</h3> <ul> <li><a class="reference internal" href="#">TimeISOT</a></li> </ul> </div> </div> <div class="clearer"></div> </div> <footer class="footer"> <p class="pull-right"> <a href="../_sources/_generated/astropy.time.core.TimeISOT.txt" rel="nofollow">Page Source</a> <a href="#">Back to Top</a></p> <p> © Copyright 2011-2013, The Astropy Developers.<br/> Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. Last built 22 Oct 2013. <br/> </p> </footer> </body> </html>