summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-08-31 22:40:57 +0000
committerMike Buland <eichlan@xagasoft.com>2009-08-31 22:40:57 +0000
commit6d6cca7830ed931198cd2df77bafbdd81038171a (patch)
tree0ebe21bca4f6a65e78ad9971bdc513c8222e5bfa /src/util.h
parent6e7f15f8157499796689a2bff1d110e83104ef43 (diff)
downloadlibbu++-6d6cca7830ed931198cd2df77bafbdd81038171a.tar.gz
libbu++-6d6cca7830ed931198cd2df77bafbdd81038171a.tar.bz2
libbu++-6d6cca7830ed931198cd2df77bafbdd81038171a.tar.xz
libbu++-6d6cca7830ed931198cd2df77bafbdd81038171a.zip
Added a getDaysInMonth function, it'll live in util.{cpp,h} until I create an
actual Date class.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 0c2f0eb..c284880 100644
--- a/src/util.h
+++ b/src/util.h
@@ -167,6 +167,12 @@ namespace Bu
167 return *a > *b; 167 return *a > *b;
168 } 168 }
169 }; 169 };
170
171 /**
172 * Get the number of days in the month in the gregorian calendar, taking
173 * leap years into account.
174 */
175 int getDaysInMonth( int iMonth, int iYear );
170}; 176};
171 177
172#endif 178#endif