Sha256: 430c0981c9c9e65d011e025eee2b6777cd06544344a82b4c17c026634d8854a9
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true module Niso module Jats class Date < Lutaml::Model::Serializable attribute :calendar, :string attribute :date_type, :string attribute :id, :string attribute :iso_8601_date, :string attribute :publication_format, :string attribute :specific_use, :string attribute :day, Day attribute :month, Month attribute :season, Season attribute :year, Year attribute :era, Era xml do root "date" map_attribute "calendar", to: :calendar map_attribute "date-type", to: :date_type map_attribute "id", to: :id map_attribute "iso-8601-date", to: :iso_8601_date map_attribute "publication-format", to: :publication_format map_attribute "specific-use", to: :specific_use map_element "day", to: :day map_element "month", to: :month map_element "season", to: :season map_element "year", to: :year map_element "era", to: :era end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/date.rb |