There is a newer version of the record available.

Published September 8, 2019 | Version v1.0.3
Software Open

FilteredPush/event_date_qc: Release version 1.0.3, expanded verbatim date handling.

  • 1. Museum of Comparative Zoology, Harvard University

Description

Added more cases of verbatim date parsing including forms found in VertNet data and supporting unit tests including 3 letter months and roman numeral months. Adding method to detect if date range contains a leap day. Adding annotated DwCEventDQ methods to perform validations that event date is year or less one testing for a julian year or less, the other testing for a calendar year or less, including leap year. An event date that is a year including a leap day (e.g. '1964', will not validate as having a duration less than a julian year, but will validate for having a duration less than a calendar year. Added annotated method DWCEventDQ.extractDateFromStartEnd() and DateUtils.createEventDateFromStartEnd(String startDate, String endDate) and DateUtils.createEventDateFromStartEnd(String startDate, String endDate) along with unit test.along with unit tests. Deprecated all Map<String,String> methods, replaced with EventResult methods for fittness for use framework results.

Files

FilteredPush/event_date_qc-v1.0.3.zip

Files (160.2 kB)

Name Size Download all
md5:94c0047dfe1810a35c30555c0bc01c1c
160.2 kB Preview Download

Additional details