Class: Icalendar2::DurationValue
- Defined in:
- lib/icalendar2/value/duration_value.rb
Overview
Constant Summary collapse
- DUR_DAY =
"\\d+D"- DUR_SECOND =
"\\d{1,2}S"- DUR_MINUTE =
"\\d{1,2}M(?:#{DUR_SECOND})?"- DUR_HOUR =
"\\d{1,2}H(?:#{DUR_MINUTE})?"- DUR_TIME =
"T(?:#{DUR_HOUR}|#{DUR_MINUTE}|#{DUR_SECOND})"- DUR_DATE =
"#{DUR_DAY}(?:#{DUR_TIME})?"- DUR_WEEK =
"\\d+W"- BASE_FORMAT =
"P(?:#{DUR_DATE}|#{DUR_TIME}|#{DUR_WEEK})"
Instance Attribute Summary
Attributes inherited from Value
Method Summary
Methods inherited from Value
get_factory, #initialize, matches, #to_s, #valid?
Constructor Details
This class inherits a constructor from Icalendar2::Value