home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiscKit1.2.6 / Palettes / MiscCalendarPalette / MiscCalendarView.subproj / SimpleDate.h < prev    next >
Encoding:
Text File  |  1994-05-11  |  718 b   |  42 lines

  1. /******************************************************************************
  2.  *      $Log$
  3.  ******************************************************************************/
  4.  
  5. #import <objc/Object.h>
  6.  
  7. #import "misckit/DateDelegateProtocol.h"
  8.  
  9. @interface SimpleDate : Object <DateDelegate>
  10. {
  11.     int        day,
  12.         month,
  13.         year;
  14.     char    dateString[64];
  15.  
  16. }
  17.  
  18. - init;
  19.  
  20. - (int)day;
  21. - (int)month;
  22. - (int)year;
  23.  
  24. - setYear:(int)year month:(int)month day:(int)day;
  25.  
  26. - (int)numberOfDaysInMonth;
  27. - (int)startDayOfMonth;
  28.  
  29. - incrementMonth;
  30. - decrementMonth;
  31.  
  32. - incrementYear;
  33. - decrementYear;
  34.  
  35. - (const char *)monthStringValue;
  36. - (const char *)dateStringValue;
  37.  
  38. - read:(NXTypedStream *)aStream;
  39. - write:(NXTypedStream *)aStream;
  40.  
  41. @end
  42.