1#import "pyobjc.h" 2#import <Foundation/Foundation.h> 3 4@interface OC_PythonDate : NSDate 5{ 6 PyObject* value; 7 NSDate* oc_value; 8} 9 10+ (instancetype)depythonifyObject:(PyObject*)object; 11+ (instancetype)dateWithPythonObject:(PyObject*)value; 12- (id)initWithPythonObject:(PyObject*)value; 13-(void)dealloc; 14-(PyObject*)__pyobjc_PythonObject__; 15 16/* Implementation of the NSDate interface */ 17 18/* This one is the biggy: this is the once required method, all other 19 * NSDate methods build on this. 20 */ 21-(NSTimeInterval)timeIntervalSinceReferenceDate; 22 23/* These two are only present to *disable* coding, not implement it */ 24- (void)encodeWithCoder:(NSCoder*)coder; 25- (id)initWithCoder:(NSCoder*)coder; 26 27@end 28