Class: DateRecordMapper

Inherits:
Object
  • Object
show all
Includes:
XmlSchemaMapper
Defined in:
app/mappers/date_record_mapper.rb

Overview

Note:

Значение даты: используется для реквизитов, которые могут содержать неполную дату

Instance Attribute Summary collapse

Instance Attribute Details

#dayInt

число даты minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


13
14
15
# File 'app/mappers/date_record_mapper.rb', line 13

def day
  @day
end

#monthInt

месяц даты minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


17
18
19
# File 'app/mappers/date_record_mapper.rb', line 17

def month
  @month
end

#yearInt

год даты minOccurs: 1, maxOccurs: 1

Returns:

  • (Int)


21
22
23
# File 'app/mappers/date_record_mapper.rb', line 21

def year
  @year
end