yum-mirror/VkFFT
git clone https://git.yummers.dev/yum-mirror/VkFFT
ba7001c
v1.2.31
1//------------------------------------------------------------------------------------------------------------------------------------------------------------- 2// 3// Foundation/NSDate.hpp 4// 5// See LICENSE.txt for this project licensing information. 6// 7//------------------------------------------------------------------------------------------------------------------------------------------------------------- 8 9#pragma once 10 11//------------------------------------------------------------------------------------------------------------------------------------------------------------- 12 13#include "NSDefines.hpp" 14#include "NSObject.hpp" 15#include "NSPrivate.hpp" 16#include "NSTypes.hpp" 17 18//------------------------------------------------------------------------------------------------------------------------------------------------------------- 19 20namespace NS 21{ 22 23using TimeInterval = double ; 24 25class Date : public Copying < Date > 26{ 27public : 28static Date * dateWithTimeIntervalSinceNow ( TimeInterval secs ) ; 29} ; 30 31} // NS 32 33//------------------------------------------------------------------------------------------------------------------------------------------------------------- 34 35_NS_INLINE NS :: Date * NS :: Date :: dateWithTimeIntervalSinceNow ( NS :: TimeInterval secs ) 36{ 37return NS :: Object :: sendMessage < NS :: Date *> ( _NS_PRIVATE_CLS ( NSDate ) , _NS_PRIVATE_SEL ( dateWithTimeIntervalSinceNow_ ) , secs ) ; 38} 39 40//-------------------------------------------------------------------------------------------------------------------------------------------------------------