module ImprintFixtures
def imprint_mods
<<-MODS
An edition
A Place
A Publisher
An Issue Date
Another Date
MODS
end
def no_edition_mods
<<-MODS
A Place
A Publisher
A Create Date
An Issue Date
A Capture Date
Another Date
MODS
end
def origin_info_mods
<<-MODS
A Valid Date
The Issuance
MODS
end
def mixed_mods
<<-MODS
A Place
A Publisher
The Issuance
The Capture Date
MODS
end
def display_form
<<-MODS
A Place
A Publisher
The Display Form
A Place
A Publisher
The Display Form
MODS
end
def display_label
<<-MODS
The edition
A Place
A Publisher
A Place
A Publisher
The Edition
MODS
end
def date_range
<<-MODS
1825
1820
MODS
end
def open_date_range
<<-MODS
1820
MODS
end
def encoded_date_range
<<-MODS
2008-02-01
2009-12-02
MODS
end
def dup_qualified_date
<<-MODS
1820
1820
MODS
end
def dup_unencoded_date
<<-MODS
1820
[ca. 1820]
MODS
end
def dup_copyright_date
<<-MODS
1820
c1820
MODS
end
def dup_date
<<-MODS
1820
1820
MODS
end
def approximate_date
<<-MODS
1820
MODS
end
def questionable_date
<<-MODS
1820
MODS
end
def inferred_date
<<-MODS
1820
MODS
end
def three_imprint_dates
<<-MODS
[1820-1825]
1820
1825
MODS
end
def qualified_imprint_date
<<-MODS
1820
MODS
end
def imprint_date_range
<<-MODS
[1820]
1820
1825
MODS
end
def encoded_place
<<-MODS
ne
[Amsterdam]
us
[United States]
ne
MODS
end
def xx_country_code
<<-MODS
xx
1994
MODS
end
def encoded_dates
<<-MODS
2013
2013-07-10
2013-07
Jul. 22, 2013
MODS
end
def iso8601_encoded_dates
<<-MODS
20131114161429
Jul. 22, 2013
MODS
end
def bad_dates
<<-MODS
United States
9999
9999
MODS
end
def invalid_dates
<<-MODS
United States
1920-09-00
MODS
end
def punctuation_imprint_fixture
<<-MODS
San Francisco :
Chronicle Books,
2015.
MODS
end
def bc_ad_imprint_date_fixture
<<-MODS
-0013
0044
MODS
end
end