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

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

	MyCal *myCal;
	myCal = [[MyCal alloc] init];
	NSString *str= [myCal calStr];

	//今月のカレンダ-を表示
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	//2008年2月のカレンダーを表示
	myCal.year = 2008;
	myCal.month = 2;
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
    [pool drain];
    return 0;
}
