Added has_date() method to item_t
This commit is contained in:
parent
26a94fb1ed
commit
205dd3a1ee
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue