Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 553 Bytes
//
// Session.h
// Thyme
//
// Created by João Moreno on 6/4/10.
//
#import <CoreData/CoreData.h>
@interface Session : NSManagedObject
{
}
@property (nonatomic, retain) NSNumber * hours;
@property (nonatomic, retain) NSNumber * minutes;
@property (nonatomic, retain) NSNumber * seconds;
@property (nonatomic, retain) NSDate * date;
+ (NSArray*)allSessions;
+ (Session*)sessionWithSeconds:(NSInteger)_seconds minutes:(NSInteger)_minutes hours:(NSInteger)_hours;
- (NSString*)timeStringRepresentation;
- (NSString*)stringRepresentation;
@end