app/models/bplmodels/mods_desc_metadata.rb
#include Hydra::Datastream::CommonModsIndexMethods
# MODS XML constants.
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
def insert_subject_date_fix_me(date_start, date_end)
      subject_index = self.mods(0).subject.count
        temporal_index = self.mods(0).subject(subject_index).temporal.length
        self.mods(0).subject(subject_index).temporal(temporal_index, date_start) unless date_start.blank?
        self.mods(0).subject(subject_index).temporal(temporal_index).point = 'start' unless date_start.blank?
        temporal_index = self.mods(0).subject(subject_index).temporal.length
        self.mods(0).subject(subject_index).temporal(temporal_index, date_end) unless date_end.blank?
        self.mods(0).subject(subject_index).temporal(temporal_index).point = 'end' unless date_end.blank?
    end
def insert_subject_date_fix_me ( date_start , date_end ) subject_index = self . mods ( 0 ) . subject . count temporal_index = self . mods ( 0 ) . subject ( subject_index ) . temporal . length self . mods ( 0 ) . subject ( subject_index ) . temporal ( temporal_index , date_start ) unless date_start . blank? self . mods ( 0 ) . subject ( subject_index ) . temporal ( temporal_index ) . point = 'start' unless date_start . blank? temporal_index = self . mods ( 0 ) . subject ( subject_index ) . temporal . length self . mods ( 0 ) . subject ( subject_index ) . temporal ( temporal_index , date_end ) unless date_end . blank? self . mods ( 0 ) . subject ( subject_index ) . temporal ( temporal_index ) . point = 'end' unless date_end . blank? end
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
date_start
date_end