edu.ucdenver.ccp.medline.parser
Class MedlineCitation.PubDate
java.lang.Object
edu.ucdenver.ccp.medline.parser.MedlineCitation.Date
edu.ucdenver.ccp.medline.parser.MedlineCitation.PubDate
- Enclosing class:
- MedlineCitation
public static class MedlineCitation.PubDate
- extends MedlineCitation.Date
- Author:
- Center for Computational Pharmacology, UC Denver; ccpsupport@ucdenver.edu
MedlineCitation.PubDate
public MedlineCitation.PubDate()
getDateStr
public String getDateStr()
- Returns:
- a string represenation of the publication date. If there is a "medline date" then
it is returned. If not, then we check to see if there is a "year". If there is a
year, then we return a string formatted to "M/D/Y" depending on the availablity
of the month and day. If there is no year, then we check for a "season" returning
it if it exists. If none of the previous cases pass then we return null. I don't
think this method should ever return null however.
Copyright © 2012. All Rights Reserved.