/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/DateManagement/Date.cpp
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/DateManagement/Date.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.4 by cpcp, Sun Oct 27 09:45:01 2002 UTC revision 1.1.2.5 by cpcp, Sun Oct 27 11:58:04 2002 UTC
# Line 66  void GEDCOMParser::DateManagement::Date: Line 66  void GEDCOMParser::DateManagement::Date:
66    return;    return;
67  }  }
68    
69    void GEDCOMParser::DateManagement::Date::setBeforeChrist(bool val)
70    {
71      _before_christ = val;
72      return;
73    }
74    
75  std::string const GEDCOMParser::DateManagement::Date::getDisplayValue(void) const  std::string const GEDCOMParser::DateManagement::Date::getDisplayValue(void) const
76  {  {
77    std::string res;    std::string res;
# Line 236  std::string const GEDCOMParser::DateMana Line 242  std::string const GEDCOMParser::DateMana
242      }      }
243        
244    res = precision + _day + day_month_separator + month + month_year_separator + year;    res = precision + _day + day_month_separator + month + month_year_separator + year;
245      
246      if (_before_christ == true)
247        {
248          res = res + _(" B.C.");
249        }
250      
251    return res;    return res;
252  }  }
253    

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26