11 lines
247 B
Plaintext
11 lines
247 B
Plaintext
#import "NSDate+MGLAdditions.h"
|
|
|
|
@implementation NSDate (MGLAdditions)
|
|
|
|
mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
|
|
{
|
|
return std::chrono::duration_cast<mbgl::Duration>(std::chrono::duration<NSTimeInterval>(duration));
|
|
}
|
|
|
|
@end
|