/*****
 NAME
 	pmisc.h - header file for miscellaration class protocols
 VERSION
 	$Id$
 CHANGELOG
 	$Log$
 */

#if !defined(PMISC_H_INCLUDED)
#define PMISC_H_INCLUDED

#include <coconut/pobject.h>
#include <coconut/perror.h>

@protocol PDateFactory
  + (boolean) isLeapYear: (u_int) year ;
  + (u_int) daysFromMonth: (u_int) year and: (u_int) month ;
@end

@protocol PDate <PObject>
  - (id <PError>) setDate: (u_int) day month: (u_int) month year: (u_int) year ;
  - (u_int) day ;
  - (u_int) month ;
  - (u_int) year ;
@end

#endif /* !defined(PMISC_H_INCLUDED) */

