Source

MYUtilities / DateUtils.h

Full commit
Jens Alfke 3d3dcc3 

Jens Alfke e597686 
Jens Alfke 3d3dcc3 

Jens Alfke e597686 
Jens Alfke 3d3dcc3 



Jens Alfke 8fad194 


Jens Alfke 64823cd 






Jens Alfke 3d3dcc3 
Jens Alfke 8fad194 
Jens Alfke 64823cd 
Jens Alfke 8fad194 



//
//  DateUtils.h
//  MYUtilities
//
//  Created by Jens Alfke on 3/25/08.
//  Copyright 2008 Jens Alfke. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#ifdef __cplusplus
extern "C" {
#endif
    
    
    /** Absolute time (since 'reference date') to NSDate. 0.0 -> nil. */
    NSDate* $date( CFAbsoluteTime );
    
    /** NSDate to absolute time (since 'reference date'). nil -> 0.0 */
    CFAbsoluteTime $time( NSDate* );

    
    NSTimeInterval TimeIntervalSinceBoot(void);


#ifdef __cplusplus
}
#endif