#import <Foundation/Foundation.h>
#import "UsefulCal.h"

int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];


	UsefulCal *myCal;
	myCal = [[UsefulCal alloc] init];
	NSString *str= [myCal calStr];
	
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	[myCal prevMonth];
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	[myCal nextMonth];
	[myCal nextMonth];
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	[myCal nextMonth];
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	
    [pool drain];
    return 0;
}
