Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 6a806edc410677c1fd1cd473b6901408 > files > 79

ghc-hledger-lib-devel-0.14-2.fc15.i686.rpm

<!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>Hledger.Read.TimelogReader</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Hledger-Read-TimelogReader.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Hledger-Read-TimelogReader.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hledger-lib-0.14: Reusable types and utilities for the hledger accounting tool and financial apps in general.</p></div><div id="content"><div id="module-header"><p class="caption">Hledger.Read.TimelogReader</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A reader for the timelog file format generated by timeclock.el.
</p><p>From timeclock.el 2.6:
</p><pre>
A timelog contains data in the form of a single entry per line.
Each entry has the form:

CODE YYYY<em>MM</em>DD HH:MM:SS [COMMENT]

CODE is one of: b, h, i, o or O.  COMMENT is optional when the code is
i, o or O.  The meanings of the codes are:

b  Set the current time balance, or &quot;time debt&quot;.  Useful when
     archiving old log data, when a debt must be carried forward.
     The COMMENT here is the number of seconds of debt.

h  Set the required working time for the given day.  This must
     be the first entry for that day.  The COMMENT in this case is
     the number of hours in this workday.  Floating point amounts
     are allowed.

i  Clock in.  The COMMENT in this case should be the name of the
     project worked on.

o  Clock out.  COMMENT is unnecessary, but can be used to provide
     a description of how the period went, for example.

O  Final clock out.  Whatever project was being worked on, it is
     now finished.  Useful for creating summary reports.
</pre><p>Example:
</p><pre>
i 2007<em>03</em>10 12:26:00 hledger
o 2007<em>03</em>10 17:26:02
</pre></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:reader" class="def">reader</a> :: <a href="Hledger-Data-Types.html#t:Reader">Reader</a><a href="src/Hledger-Read-TimelogReader.html#reader" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:tests_Hledger_Read_TimelogReader" class="def">tests_Hledger_Read_TimelogReader</a> :: <a href="/usr/share/doc/ghc/html/libraries/HUnit-1.2.2.3/Test-HUnit-Base.html#t:Test">Test</a><a href="src/Hledger-Read-TimelogReader.html#tests_Hledger_Read_TimelogReader" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>