DateUtils.h
changeset 7 59addced5e2a
parent 3 8fad19466c59
child 11 e5976864dfe9
     1.1 --- a/DateUtils.h	Sun Apr 06 19:13:27 2008 -0700
     1.2 +++ b/DateUtils.h	Fri May 02 12:49:43 2008 -0700
     1.3 @@ -11,9 +11,16 @@
     1.4  #ifdef __cplusplus
     1.5  extern "C" {
     1.6  #endif
     1.7 +    
     1.8 +    
     1.9 +    /** Absolute time (since 'reference date') to NSDate. 0.0 -> nil. */
    1.10 +    NSDate* $date( CFAbsoluteTime );
    1.11 +    
    1.12 +    /** NSDate to absolute time (since 'reference date'). nil -> 0.0 */
    1.13 +    CFAbsoluteTime $time( NSDate* );
    1.14  
    1.15      
    1.16 -NSTimeInterval TimeIntervalSinceBoot(void);
    1.17 +    NSTimeInterval TimeIntervalSinceBoot(void);
    1.18  
    1.19  
    1.20  #ifdef __cplusplus