git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
80f3081
)
[MERGE] libi2ncommon: (reinhard) added getter to WEEK...
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Tue, 8 Jul 2008 11:40:21 +0000 (11:40 +0000)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Tue, 8 Jul 2008 11:40:21 +0000 (11:40 +0000)
src/timefunc.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/timefunc.hxx
b/src/timefunc.hxx
index
dd8aec1
..
e4121ff
100644
(file)
--- a/
src/timefunc.hxx
+++ b/
src/timefunc.hxx
@@
-65,6
+65,9
@@
class WEEK
void set(WEEKDAY d, bool value=true)
{ days[d]=value; }
+ bool get(WEEKDAY d) const { return days[d]; }
+ bool is_set(WEEKDAY d) const { return days[d]; }
+
bool all_set() const
{ return (days.count()==7); }
bool none_set() const