Class: GOBL::Cal::Period
- Defined in:
- lib/generated/gobl/cal/period.rb
Overview
Period represents two dates with a start and finish.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Period structure
'https://gobl.org/draft-0/cal/period'
Instance Attribute Summary collapse
- #end ⇒ GOBL::Cal::Date readonly
- #start ⇒ GOBL::Cal::Date readonly
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#end ⇒ GOBL::Cal::Date (readonly)
23 |
# File 'lib/generated/gobl/cal/period.rb', line 23 property :end, GOBL::Cal::Date |
#start ⇒ GOBL::Cal::Date (readonly)
18 |
# File 'lib/generated/gobl/cal/period.rb', line 18 property :start, GOBL::Cal::Date |