orgmode-parse-0.0.2.0: A parser and writer for org-mode flavored documents.

Copyright© 2014 Parnell Springmeyer
LicenseAll Rights Reserved
MaintainerParnell Springmeyer <parnell@digitalmentat.com>
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

Data.OrgMode.Parse.Attoparsec.Time

Description

Parsing combinators for org-mode active and inactive timestamps.

Synopsis

Documentation

data Priority Source

Constructors

A 
B 
C 
Unknown 

newtype State Source

Constructors

State Text.Text 

Instances

newtype Keyword Source

Constructors

Keyword Text.Text 

newtype PropertyDrawer k v Source

Constructors

PropertyDrawer (HashMap k v) 

Instances

(Eq k, Eq v) => Eq (PropertyDrawer k v) 
(Show k, Show v) => Show (PropertyDrawer k v) 

data Timestamp Source

Constructors

Active LocalTime 
Inactive LocalTime 

newtype Open Source

Constructors

Open Char 

newtype Close Source

Constructors

Close Char 

parseTimestamp :: Open -> Close -> TP.Parser Text.Text (Maybe Schedule) Source

Parse an org-mode timestamp line with user-supplied opening and ending brackets (for either active or inactive stamps).

scheduleType :: TP.Parser Text.Text ScheduleType Source

Parse the type of schedule.