author | Jens Alfke <jens@mooseyard.com> |
Fri Apr 18 09:25:10 2008 -0700 (2008-04-18) | |
changeset 6 | 2d492d8c2053 |
parent 3 | 8fad19466c59 |
child 11 | e5976864dfe9 |
permissions | -rw-r--r-- |
1 //
2 // DateUtils.h
3 // Cloudy
4 //
5 // Created by Jens Alfke on 3/25/08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
16 /** Absolute time (since 'reference date') to NSDate. 0.0 -> nil. */
17 NSDate* $date( CFAbsoluteTime );
19 /** NSDate to absolute time (since 'reference date'). nil -> 0.0 */
20 CFAbsoluteTime $time( NSDate* );
23 NSTimeInterval TimeIntervalSinceBoot(void);
26 #ifdef __cplusplus
27 }
28 #endif