aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-09 01:10:06 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-09 01:10:06 +0000
commit6ac4ca07b1b0d61d718e73e0ba35a579ccc162c7 (patch)
tree5c2b21db911d0f80dda3c4a2fc23af35fb8a766e /Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m
parent44ca403e94e748cbf1db6941aece22029c77c542 (diff)
downloadsequelpro-6ac4ca07b1b0d61d718e73e0ba35a579ccc162c7.tar.gz
sequelpro-6ac4ca07b1b0d61d718e73e0ba35a579ccc162c7.tar.bz2
sequelpro-6ac4ca07b1b0d61d718e73e0ba35a579ccc162c7.zip
Hook up time interval support.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m b/Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m
index 7faaad41..5acd7581 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresTimeInterval.m
@@ -43,7 +43,12 @@
#pragma mark -
-- (id)initWithInterval:(const PGinterval *)interval
++ (id)intervalWithPGInterval:(PGinterval *)interval
+{
+ return [[[FLXPostgresTimeInterval alloc] initWithInterval:interval] autorelease];
+}
+
+- (id)initWithInterval:(PGinterval *)interval
{
if ((self = [super init])) {
if (interval) {