Created
May 31, 2015 10:20
-
-
Save StanislavK/3f074e6b3771e7b19132 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension Double { | |
var second: NSTimeInterval { return self } | |
var seconds: NSTimeInterval { return self } | |
var minute: NSTimeInterval { return self * 60 } | |
var minutes: NSTimeInterval { return self * 60 } | |
var hour: NSTimeInterval { return self * 3600 } | |
var hours: NSTimeInterval { return self * 3600 } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment