Added has_date() method to item_t

This commit is contained in:
John Wiegley 2010-06-22 20:51:18 -04:00
parent 26a94fb1ed
commit 205dd3a1ee

View file

@ -175,6 +175,10 @@ public:
static bool use_effective_date;
virtual bool has_date() const {
return _date;
}
virtual date_t date() const {
assert(_date);
if (use_effective_date)