Class: DateRecordMapper
- Inherits:
-
Object
- Object
- DateRecordMapper
- Includes:
- XmlSchemaMapper
- Defined in:
- app/mappers/date_record_mapper.rb
Overview
Note:
Значение даты: используется для реквизитов, которые могут содержать неполную дату
Instance Attribute Summary collapse
-
#day ⇒ Int
число даты minOccurs: 0, maxOccurs: 1.
-
#month ⇒ Int
месяц даты minOccurs: 0, maxOccurs: 1.
-
#year ⇒ Int
год даты minOccurs: 1, maxOccurs: 1.
Instance Attribute Details
#day ⇒ Int
число даты minOccurs: 0, maxOccurs: 1
13 14 15 |
# File 'app/mappers/date_record_mapper.rb', line 13 def day @day end |
#month ⇒ Int
месяц даты minOccurs: 0, maxOccurs: 1
17 18 19 |
# File 'app/mappers/date_record_mapper.rb', line 17 def month @month end |
#year ⇒ Int
год даты minOccurs: 1, maxOccurs: 1
21 22 23 |
# File 'app/mappers/date_record_mapper.rb', line 21 def year @year end |