aboutsummaryrefslogtreecommitdiff
path: root/src/tests/daysinmonth.cpp
blob: 98888448aeb0c5421a14b4b9288de1d97591cff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "bu/sio.h"
#include "bu/util.h"

using namespace Bu;

int main()
{
	for( int j = 0; j < 12; j++ )
	{
		sio << "2012-" << j << " = "
			<< getDaysInMonth( j, 2012 ) << sio.nl;
	}

	return 0;
}