1 package Org::Element::TimeRange;
6 extends 'Org::Element';
8 our $VERSION = '0.23'; # VERSION
10 has ts1 => (is => 'rw');
11 has ts2 => (is => 'rw');
15 return $self->_str if $self->_str;
17 $self->ts1->as_string,
24 # ABSTRACT: Represent Org time range (TS1--TS2)
31 Org::Element::TimeRange - Represent Org time range (TS1--TS2)
39 Derived from L<Org::Element>.
43 =head2 ts1 => TIMESTAMP ELEMENT
47 =head2 ts2 => TIMESTAMP ELEMENT
53 =for Pod::Coverage as_string
57 Steven Haryanto <stevenharyanto@gmail.com>
59 =head1 COPYRIGHT AND LICENSE
61 This software is copyright (c) 2012 by Steven Haryanto.
63 This is free software; you can redistribute it and/or modify it under
64 the same terms as the Perl 5 programming language system itself.