├── .gitignore ├── .swift-version ├── .travis.yml ├── CREDITS.md ├── DateTools.podspec ├── DateTools ├── DateTools │ ├── DTConstants.h │ ├── DTConstants.m │ ├── DTError.h │ ├── DTError.m │ ├── DTTimePeriod.h │ ├── DTTimePeriod.m │ ├── DTTimePeriodChain.h │ ├── DTTimePeriodChain.m │ ├── DTTimePeriodCollection.h │ ├── DTTimePeriodCollection.m │ ├── DTTimePeriodGroup.h │ ├── DTTimePeriodGroup.m │ ├── DateTools.bundle │ │ ├── am.lproj │ │ │ └── DateTools.strings │ │ ├── ar.lproj │ │ │ └── DateTools.strings │ │ ├── bg.lproj │ │ │ └── DateTools.strings │ │ ├── ca.lproj │ │ │ └── DateTools.strings │ │ ├── cs.lproj │ │ │ └── DateTools.strings │ │ ├── cy.lproj │ │ │ └── DateTools.strings │ │ ├── da.lproj │ │ │ └── DateTools.strings │ │ ├── de.lproj │ │ │ └── DateTools.strings │ │ ├── en.lproj │ │ │ └── DateTools.strings │ │ ├── es.lproj │ │ │ └── DateTools.strings │ │ ├── eu.lproj │ │ │ └── DateTools.strings │ │ ├── fi.lproj │ │ │ └── DateTools.strings │ │ ├── fr.lproj │ │ │ └── DateTools.strings │ │ ├── gre.lproj │ │ │ └── DateTools.strings │ │ ├── gu.lproj │ │ │ └── DateTools.strings │ │ ├── he.lproj │ │ │ └── DateTools.strings │ │ ├── hi.lproj │ │ │ └── DateTools.strings │ │ ├── hr.lproj │ │ │ └── DateTools.strings │ │ ├── hu.lproj │ │ │ └── DateTools.strings │ │ ├── id.lproj │ │ │ └── DateTools.strings │ │ ├── is.lproj │ │ │ └── DateTools.strings │ │ ├── it.lproj │ │ │ └── DateTools.strings │ │ ├── ja.lproj │ │ │ └── DateTools.strings │ │ ├── ko.lproj │ │ │ └── DateTools.strings │ │ ├── lv.lproj │ │ │ └── DateTools.strings │ │ ├── ms.lproj │ │ │ └── DateTools.strings │ │ ├── nb.lproj │ │ │ └── DateTools.strings │ │ ├── nl.lproj │ │ │ └── DateTools.strings │ │ ├── pl.lproj │ │ │ └── DateTools.strings │ │ ├── pt-PT.lproj │ │ │ └── DateTools.strings │ │ ├── pt.lproj │ │ │ └── DateTools.strings │ │ ├── ro.lproj │ │ │ └── DateTools.strings │ │ ├── ru.lproj │ │ │ └── DateTools.strings │ │ ├── sk.lproj │ │ │ └── NSDateTimeAgo.strings │ │ ├── sl.lproj │ │ │ └── DateTools.strings │ │ ├── sv.lproj │ │ │ └── DateTools.strings │ │ ├── th.lproj │ │ │ └── DateTools.strings │ │ ├── tr.lproj │ │ │ └── DateTools.strings │ │ ├── uk.lproj │ │ │ └── DateTools.strings │ │ ├── vi.lproj │ │ │ └── DateTools.strings │ │ ├── zh-Hans.lproj │ │ │ └── DateTools.strings │ │ └── zh-Hant.lproj │ │ │ └── DateTools.strings │ ├── DateTools.h │ ├── NSDate+DateTools.h │ └── NSDate+DateTools.m ├── Examples │ └── DateToolsExample │ │ ├── DateTools macOS │ │ ├── DateTools macOS.h │ │ └── Info.plist │ │ ├── DateTools │ │ └── Info.plist │ │ ├── DateToolsExample.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── DateTools macOS.xcscheme │ │ │ └── DateTools.xcscheme │ │ ├── DateToolsExample │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Calendar.png │ │ ├── Calendar@2x.png │ │ ├── Calendar_filled.png │ │ ├── Calendar_filled@2x.png │ │ ├── Colours.h │ │ ├── Colours.m │ │ ├── DateToolsExample-Info.plist │ │ ├── DateToolsExample-Prefix.pch │ │ ├── DateToolsViewController.h │ │ ├── DateToolsViewController.m │ │ ├── DateToolsViewController.xib │ │ ├── ExampleNavigationController.h │ │ ├── ExampleNavigationController.m │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── LaunchImage.launchimage │ │ │ │ └── Contents.json │ │ ├── Recents.png │ │ ├── Recents@2x.png │ │ ├── Recents_filled.png │ │ ├── Recents_filled@2x.png │ │ ├── TimePeriodsViewController.h │ │ ├── TimePeriodsViewController.m │ │ ├── TimePeriodsViewController.xib │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ └── main.m │ │ └── DateToolsExampleTests │ │ ├── DateToolsExampleTests-Info.plist │ │ └── en.lproj │ │ └── InfoPlist.strings └── Tests │ └── DateToolsTests │ ├── DateToolsTests.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ ├── DateToolsTests.xcscheme │ │ └── DateToolsTestsTests.xcscheme │ ├── DateToolsTests │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── Main.storyboard │ ├── DateToolsTests-Info.plist │ ├── DateToolsTests-Prefix.pch │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── ViewController.h │ ├── ViewController.m │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── es.lproj │ │ ├── InfoPlist.strings │ │ └── Main.strings │ ├── ja.lproj │ │ ├── InfoPlist.strings │ │ └── Main.strings │ └── main.m │ └── DateToolsTestsTests │ ├── DTTimeAgoTests.m │ ├── DTTimePeriodChainTests.m │ ├── DTTimePeriodCollectionTests.m │ ├── DTTimePeriodGroupTests.m │ ├── DTTimePeriodTests.m │ ├── DateToolsTests.m │ ├── DateToolsTestsTests-Info.plist │ ├── en.lproj │ └── InfoPlist.strings │ ├── es.lproj │ └── InfoPlist.strings │ └── ja.lproj │ └── InfoPlist.strings ├── DateToolsSwift.podspec ├── DateToolsSwift ├── DateTools │ ├── Constants.swift │ ├── Date+Bundle.swift │ ├── Date+Comparators.swift │ ├── Date+Components.swift │ ├── Date+Format.swift │ ├── Date+Inits.swift │ ├── Date+Manipulations.swift │ ├── Date+TimeAgo.swift │ ├── DateTools.bundle │ │ ├── am.lproj │ │ │ └── DateTools.strings │ │ ├── ar.lproj │ │ │ └── DateTools.strings │ │ ├── bg.lproj │ │ │ └── DateTools.strings │ │ ├── ca.lproj │ │ │ └── DateTools.strings │ │ ├── cs.lproj │ │ │ └── DateTools.strings │ │ ├── cy.lproj │ │ │ └── DateTools.strings │ │ ├── da.lproj │ │ │ └── DateTools.strings │ │ ├── de.lproj │ │ │ └── DateTools.strings │ │ ├── en.lproj │ │ │ └── DateTools.strings │ │ ├── es.lproj │ │ │ └── DateTools.strings │ │ ├── eu.lproj │ │ │ └── DateTools.strings │ │ ├── fi.lproj │ │ │ └── DateTools.strings │ │ ├── fr.lproj │ │ │ └── DateTools.strings │ │ ├── gre.lproj │ │ │ └── DateTools.strings │ │ ├── gu.lproj │ │ │ └── DateTools.strings │ │ ├── he.lproj │ │ │ └── DateTools.strings │ │ ├── hi.lproj │ │ │ └── DateTools.strings │ │ ├── hr.lproj │ │ │ └── DateTools.strings │ │ ├── hu.lproj │ │ │ └── DateTools.strings │ │ ├── id.lproj │ │ │ └── DateTools.strings │ │ ├── is.lproj │ │ │ └── DateTools.strings │ │ ├── it.lproj │ │ │ └── DateTools.strings │ │ ├── ja.lproj │ │ │ └── DateTools.strings │ │ ├── ko.lproj │ │ │ └── DateTools.strings │ │ ├── lv.lproj │ │ │ └── DateTools.strings │ │ ├── ms.lproj │ │ │ └── DateTools.strings │ │ ├── nb.lproj │ │ │ └── DateTools.strings │ │ ├── nl.lproj │ │ │ └── DateTools.strings │ │ ├── pl.lproj │ │ │ └── DateTools.strings │ │ ├── pt-PT.lproj │ │ │ └── DateTools.strings │ │ ├── pt.lproj │ │ │ └── DateTools.strings │ │ ├── ro.lproj │ │ │ └── DateTools.strings │ │ ├── ru.lproj │ │ │ └── DateTools.strings │ │ ├── sk.lproj │ │ │ └── NSDateTimeAgo.strings │ │ ├── sl.lproj │ │ │ └── DateTools.strings │ │ ├── sv.lproj │ │ │ └── DateTools.strings │ │ ├── th.lproj │ │ │ └── DateTools.strings │ │ ├── tr.lproj │ │ │ └── DateTools.strings │ │ ├── uk.lproj │ │ │ └── DateTools.strings │ │ ├── vi.lproj │ │ │ └── DateTools.strings │ │ ├── zh-Hans.lproj │ │ │ └── DateTools.strings │ │ └── zh-Hant.lproj │ │ │ └── DateTools.strings │ ├── Enums.swift │ ├── Integer+DateTools.swift │ ├── TimeChunk.swift │ ├── TimePeriod.swift │ ├── TimePeriodChain.swift │ ├── TimePeriodCollection.swift │ └── TimePeriodGroup.swift ├── Examples │ └── DateToolsExample │ │ ├── DateToolsExample.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ ├── DateToolsExample │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ ├── first.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── first.pdf │ │ │ └── second.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── second.pdf │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── ExtensionsViewController.swift │ │ ├── Info.plist │ │ └── TimePeriodsViewController.swift │ │ ├── DateToolsExampleTests │ │ ├── DateToolsExampleTests.swift │ │ └── Info.plist │ │ └── DateToolsExampleUITests │ │ ├── DateToolsExampleUITests.swift │ │ └── Info.plist ├── Tests │ └── DateToolsTests │ │ ├── DateToolsTests.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ ├── DateToolsTests │ │ ├── AppDelegate.swift │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── ViewController.swift │ │ └── DateToolsTestsTests │ │ ├── DateComparatorsExtensionTests.swift │ │ ├── DateComponentsExtensionTests.swift │ │ ├── DateFormatExtensionTests.swift │ │ ├── DateInitsExtensionTests.swift │ │ ├── DateManipulationsExtensionTests.swift │ │ ├── DateTimeAgoExtensionTests.swift │ │ ├── Info.plist │ │ ├── IntegerExtensionTests.swift │ │ ├── TimeAgoTests.swift │ │ ├── TimeChunkTests.swift │ │ ├── TimePeriodChainTests.swift │ │ ├── TimePeriodCollection.swift │ │ ├── TimePeriodCollectionTests.swift │ │ ├── TimePeriodGroupTests.swift │ │ └── TimePeriodTests.swift └── doc_gen.sh ├── Examples └── DateToolsExample │ ├── DateTools macOS │ ├── DateTools macOS.h │ └── Info.plist │ └── DateToolsExample.xcodeproj │ └── xcshareddata │ └── xcschemes │ └── DateTools macOS.xcscheme ├── LICENSE ├── Package.swift └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | .DS_Store 3 | */build/* 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | profile 14 | *.moved-aside 15 | DerivedData 16 | .idea/ 17 | *.hmap 18 | *.xccheckout 19 | .build/ 20 | 21 | #CocoaPods 22 | Pods 23 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: swift 2 | 3 | before_script: 4 | - gem install xcpretty 5 | 6 | script: 7 | - xcodebuild -project Tests/DateToolsTests/DateToolsTests.xcodeproj -scheme DateToolsTests -sdk iphonesimulator test | xcpretty -c -------------------------------------------------------------------------------- /DateTools.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'DateTools' 3 | s.version = '2.0.0' 4 | s.summary = 'Dates and time made easy in Objective-C' 5 | s.homepage = 'https://github.com/MatthewYork/DateTools' 6 | 7 | s.description = 'DateTools was written to streamline date and time handling in Objective-C.' 8 | 9 | s.license = { :type => 'MIT', :file => 'LICENSE' } 10 | s.author = { "Matthew York" => "my3681@gmail.com" } 11 | 12 | s.source = { :git => "https://github.com/MatthewYork/DateTools.git", 13 | :tag => "v#{s.version.to_s}" } 14 | 15 | s.platforms = { :ios => '7.0', :osx => '10.7' } 16 | 17 | s.requires_arc = true 18 | 19 | s.source_files = 'DateTools/DateTools' 20 | s.resources = 'DateTools/DateTools/DateTools.bundle' 21 | end 22 | -------------------------------------------------------------------------------- /DateTools/DateTools/DTConstants.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 by Matthew York 2 | // 3 | // Permission is hereby granted, free of charge, to any 4 | // person obtaining a copy of this software and 5 | // associated documentation files (the "Software"), to 6 | // deal in the Software without restriction, including 7 | // without limitation the rights to use, copy, modify, merge, 8 | // publish, distribute, sublicense, and/or sell copies of the 9 | // Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall 13 | // be included in all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 19 | // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20 | // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | 23 | #import 24 | 25 | FOUNDATION_EXPORT const long long SECONDS_IN_YEAR; 26 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_MONTH_28; 27 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_MONTH_29; 28 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_MONTH_30; 29 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_MONTH_31; 30 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_WEEK; 31 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_DAY; 32 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_HOUR; 33 | FOUNDATION_EXPORT const NSInteger SECONDS_IN_MINUTE; 34 | FOUNDATION_EXPORT const NSInteger MILLISECONDS_IN_DAY; 35 | #import "DTError.h" -------------------------------------------------------------------------------- /DateTools/DateTools/DTConstants.m: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 by Matthew York 2 | // 3 | // Permission is hereby granted, free of charge, to any 4 | // person obtaining a copy of this software and 5 | // associated documentation files (the "Software"), to 6 | // deal in the Software without restriction, including 7 | // without limitation the rights to use, copy, modify, merge, 8 | // publish, distribute, sublicense, and/or sell copies of the 9 | // Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall 13 | // be included in all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 19 | // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20 | // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | 23 | #import "DTConstants.h" 24 | const long long SECONDS_IN_YEAR = 31556900; 25 | const NSInteger SECONDS_IN_MONTH_28 = 2419200; 26 | const NSInteger SECONDS_IN_MONTH_29 = 2505600; 27 | const NSInteger SECONDS_IN_MONTH_30 = 2592000; 28 | const NSInteger SECONDS_IN_MONTH_31 = 2678400; 29 | const NSInteger SECONDS_IN_WEEK = 604800; 30 | const NSInteger SECONDS_IN_DAY = 86400; 31 | const NSInteger SECONDS_IN_HOUR = 3600; 32 | const NSInteger SECONDS_IN_MINUTE = 60; 33 | const NSInteger MILLISECONDS_IN_DAY = 86400000; -------------------------------------------------------------------------------- /DateTools/DateTools/DTError.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 by Matthew York 2 | // 3 | // Permission is hereby granted, free of charge, to any 4 | // person obtaining a copy of this software and 5 | // associated documentation files (the "Software"), to 6 | // deal in the Software without restriction, including 7 | // without limitation the rights to use, copy, modify, merge, 8 | // publish, distribute, sublicense, and/or sell copies of the 9 | // Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall 13 | // be included in all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 19 | // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20 | // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | 23 | #import 24 | 25 | #pragma mark - Domain 26 | extern NSString *const DTErrorDomain; 27 | 28 | #pragma mark - Status Codes 29 | static const NSUInteger DTInsertOutOfBoundsException = 0; 30 | static const NSUInteger DTRemoveOutOfBoundsException = 1; 31 | static const NSUInteger DTBadTypeException = 2; 32 | 33 | @interface DTError : NSObject 34 | 35 | +(void)throwInsertOutOfBoundsException:(NSInteger)index array:(NSArray *)array; 36 | +(void)throwRemoveOutOfBoundsException:(NSInteger)index array:(NSArray *)array; 37 | +(void)throwBadTypeException:(id)obj expectedClass:(Class)classType; 38 | @end 39 | -------------------------------------------------------------------------------- /DateTools/DateTools/DTTimePeriodChain.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 by Matthew York 2 | // 3 | // Permission is hereby granted, free of charge, to any 4 | // person obtaining a copy of this software and 5 | // associated documentation files (the "Software"), to 6 | // deal in the Software without restriction, including 7 | // without limitation the rights to use, copy, modify, merge, 8 | // publish, distribute, sublicense, and/or sell copies of the 9 | // Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall 13 | // be included in all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 19 | // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20 | // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | 23 | #import 24 | #import "DTTimePeriodGroup.h" 25 | 26 | @interface DTTimePeriodChain : DTTimePeriodGroup { 27 | DTTimePeriod *First; 28 | DTTimePeriod *Last; 29 | } 30 | 31 | @property (nonatomic, readonly) DTTimePeriod *First; 32 | @property (nonatomic, readonly) DTTimePeriod *Last; 33 | 34 | #pragma mark - Custom Init / Factory Chain 35 | +(DTTimePeriodChain *)chain; 36 | 37 | #pragma mark - Chain Existence Manipulation 38 | -(void)addTimePeriod:(DTTimePeriod *)period; 39 | -(void)insertTimePeriod:(DTTimePeriod *)period atInedx:(NSInteger)index; 40 | -(void)removeTimePeriodAtIndex:(NSInteger)index; 41 | -(void)removeLatestTimePeriod; 42 | -(void)removeEarliestTimePeriod; 43 | 44 | #pragma mark - Chain Relationship 45 | -(BOOL)isEqualToChain:(DTTimePeriodChain *)chain; 46 | 47 | #pragma mark - Updates 48 | -(void)updateVariables; 49 | @end 50 | -------------------------------------------------------------------------------- /DateTools/DateTools/DTTimePeriodCollection.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 by Matthew York 2 | // 3 | // Permission is hereby granted, free of charge, to any 4 | // person obtaining a copy of this software and 5 | // associated documentation files (the "Software"), to 6 | // deal in the Software without restriction, including 7 | // without limitation the rights to use, copy, modify, merge, 8 | // publish, distribute, sublicense, and/or sell copies of the 9 | // Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall 13 | // be included in all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 19 | // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20 | // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | 23 | #import 24 | #import "DTTimePeriodGroup.h" 25 | 26 | @interface DTTimePeriodCollection : DTTimePeriodGroup 27 | 28 | #pragma mark - Custom Init / Factory Methods 29 | +(DTTimePeriodCollection *)collection; 30 | 31 | #pragma mark - Collection Manipulation 32 | -(void)addTimePeriod:(DTTimePeriod *)period; 33 | -(void)insertTimePeriod:(DTTimePeriod *)period atIndex:(NSInteger)index; 34 | -(void)removeTimePeriodAtIndex:(NSInteger)index; 35 | 36 | #pragma mark - Sorting 37 | -(void)sortByStartAscending; 38 | -(void)sortByStartDescending; 39 | -(void)sortByEndAscending; 40 | -(void)sortByEndDescending; 41 | -(void)sortByDurationAscending; 42 | -(void)sortByDurationDescending; 43 | 44 | #pragma mark - Collection Relationship 45 | -(DTTimePeriodCollection *)periodsInside:(DTTimePeriod *)period; 46 | -(DTTimePeriodCollection *)periodsIntersectedByDate:(NSDate *)date; 47 | -(DTTimePeriodCollection *)periodsIntersectedByPeriod:(DTTimePeriod *)period; 48 | -(DTTimePeriodCollection *)periodsOverlappedByPeriod:(DTTimePeriod *)period; 49 | -(BOOL)isEqualToCollection:(DTTimePeriodCollection *)collection considerOrder:(BOOL)considerOrder; 50 | 51 | #pragma mark - Helper Methods 52 | -(DTTimePeriodCollection *)copy; 53 | 54 | #pragma mark - Updates 55 | -(void)updateVariables; 56 | @end 57 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/am.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d ቀናት በፊት"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d ሰዓታት በፊት"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d ደቂቃዎች በፊት"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d ወሮች በፊት"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d ሰከንዶች በፊት"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d ሳምንታት በፊት"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d አመታት በፊት"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "አንድ ደቂቃ በፊት"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "አንድ ሰዓት በፊት"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "ልክ አሁን"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "ያለፈው ወር"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "ያለፈው ሳምንት"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "ያለፈው አመት"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "ትናንትና"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "አንድ አመት በፊት"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "አንድ ወር በፊት"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "አንድ ሳምንት በፊት"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "አንድ ቀን በፊት"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "አንድ ሰዓት በፊት"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "አንድ ደቂቃ በፊት"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "አንድ ሰከንድ በፊት"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "ዛሬ ጠዋት"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "ዛሬ ከሰዓት"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "ዛሬ"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "በዚህ ሳምንት"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "በዚህ ወር"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "በዚህ አመት"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%dy"; // year 84 | "%dM" = "%dM"; // month 85 | "%dw" = "%dw"; // week 86 | "%dd" = "%dd"; // day 87 | "%dh" = "%dh"; // hour 88 | "%dm" = "%dm"; // minute 89 | "%ds" = "%ds"; // second 90 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/ar.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/DateTools/DateTools.bundle/ar.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/bg.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "преди %d дена"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "преди %d часа"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "преди %d минути"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "преди %d месеца"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "преди %d секунди"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "преди %d седмици"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "преди %d години"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "преди минута"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "преди час"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "току що"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "през последния месец"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "през последната седмица"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "през последната година"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "вчера"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "преди 1 година"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "преди 1 месец"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "преди 1 седмица"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "преди 1 ден"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "тази сутрин"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "тази вечер"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "днес"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "тази седмица"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "този месец"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "тази година"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/ca.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Fa %d dies"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Fa %d hores"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Fa %d minuts"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Fa %d mesos"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Fa %d segons"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Fa %d setmanes"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Fa %d anys"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Fa un minut"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Fa una hora"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Fa un moment"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "El mes passat"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La setmana passada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "L'any passat"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ahir"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Fa un any"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Fa un mes"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Fa una setmana"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Fa un dia"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Aquest matí"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Aquesta tarda"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Avui"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Aquesta setmana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Aquest mes"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Aquest any"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/cs.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Před %d dny"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Před %d hodinami"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Před %d minutami"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Před %d měsíci"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Před %d sekundami"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Před %d týdny"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Před %d lety"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Před minutou"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Před hodinou"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Právě teď"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Minulý měsíc"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Minulý týden"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Minulý rok"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Včera"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Před rokem"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Před měsícem"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Před týdnem"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Předevčírem"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Dnes dopoledne"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Dnes odpoledne"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Dnes"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tento týden"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tento měsíc"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Letos"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%dr"; // year 75 | "%dM" = "%dM"; // month 76 | "%dw" = "%dt"; // week 77 | "%dd" = "%dd"; // day 78 | "%dh" = "%dh"; // hour 79 | "%dm" = "%dm"; // minute 80 | "%ds" = "%ds"; // second 81 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/cy.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d diwrnod yn ôl"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d awr yn ôl"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d munud yn ôl"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d mis yn ôl"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d eiliad yn ôl"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d wythnos yn ôl"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d mlynydd yn ôl"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Un munud yn ôl"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Un awr yn ôl"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Nawr"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Mis diwethaf"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Wythnos diwethaf"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Llynedd"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ddoe"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 flynydd yn ôl"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mis yn ôl"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 wythnos yn ôl"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 diwrnod yn ôl"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Y bore ma"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Y penwythnos hon"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Heddiw"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Yr wythnos hon"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Y mis hon"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Eleni"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/da.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dage siden"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d timer siden"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minutter siden"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d måneder siden"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekunder siden"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d uger siden"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d år siden"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Et minut siden"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "En time siden"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Lige nu"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Sidste måned"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Sidste uge"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Sidste år"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "I går"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 år siden"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 måned siden"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 uge siden"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dag siden"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Her til morgen"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Her til eftermiddag"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "I dag"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Denne uge"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Denne måned"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Dette år"; -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/de.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Vor %d Tagen"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Vor %d Stunden"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Vor %d Minuten"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Vor %d Monaten"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Vor %d Sekunden"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Vor %d Wochen"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Vor %d Jahren"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Vor einer Minute"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Vor einer Stunde"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Gerade eben"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Letzten Monat"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Letzte Woche"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Letztes Jahr"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Gestern"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Vor 1 Jahr"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Vor 1 Monat"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Vor 1 Woche"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Vor 1 Tag"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Heute Morgen"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Heute Nachmittag"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Heute"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Diese Woche"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Diesen Monat"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Dieses Jahr"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%dJ"; // year 75 | "%dM" = "%dM"; // month 76 | "%dw" = "%dW"; // week 77 | "%dd" = "%dT"; // day 78 | "%dh" = "%dh"; // hour 79 | "%dm" = "%dm"; // minute 80 | "%ds" = "%ds"; // second 81 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/es.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Hace %d días"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Hace %d horas"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Hace %d minutos"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Hace %d meses"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Hace %d segundos"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Hace %d semanas"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Hace %d años"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Hace un minuto"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Hace una hora"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Ahora mismo"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "El mes pasado"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La semana pasada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "El año pasado"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ayer"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Hace un año"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Hace un mes"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Hace una semana"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Hace un día"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "Hace 1 hora"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This morning" = "Esta mañana"; 60 | 61 | /* No comment provided by engineer. */ 62 | "This afternoon" = "Esta tarde"; 63 | 64 | /* No comment provided by engineer. */ 65 | "Today" = "Hoy"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This week" = "Esta semana"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This month" = "Este mes"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This year" = "Este año"; 75 | 76 | /* Short format for */ 77 | "%dy" = "%da"; // year 78 | "%dM" = "%dM"; // month 79 | "%dw" = "%dS"; // week 80 | "%dd" = "%dd"; // day 81 | "%dh" = "%dh"; // hour 82 | "%dm" = "%dm"; // minute 83 | "%ds" = "%ds"; // second 84 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/eu.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Orain dela %d egun"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Orain dela %d ordu"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Orain dela %d minutu"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Orain dela %d hile"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Orain dela %d segundu"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Orain dela %d aste"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Orain dela %d urte"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Orain dela minutu bat"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Orain dela ordu bat"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Oraintxe bertan"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Pasa den hilean"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Pasa den astean"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Pasa den urtean"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Atzo"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Orain dela urte bat"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Orain dela hile bat"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Orain dela aste bat"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Orain dela egun bat"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Gaur goizean"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Gaur arratsaldean"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Gaur"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Aste honetan"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Hile honetan"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Urte honetan"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/fi.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d päivää sitten"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d tuntia sitten"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minuuttia sitten"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d kuukautta sitten"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekuntia sitten"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d viikkoa sitten"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d vuotta sitten"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Minuutti sitten"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Tunti sitten"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Juuri äsken"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Viime kuussa"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Viime viikolla"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Viime vuonna"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Eilen"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Vuosi sitten"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Kuukausi sitten"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Viikko sitten"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Vuorokausi sitten"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Tänä aamuna"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Tänä iltapäivänä"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Tänään"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tällä viikolla"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tässä kuussa"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Tänä vuonna"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/fr.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Il y a %d jours"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Il y a %d heures"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Il y a %d minutes"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Il y a %d mois"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Il y a %d secondes"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Il y a %d semaines"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Il y a %d ans"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Il y a une minute"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Il y a une heure"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "A l'instant"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Le mois dernier"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La semaine dernière"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "L'année dernière"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Hier"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Il y a 1 an"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Il y a 1 mois"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Il y a 1 semaine"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Il y a 1 jour"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "Il y a 1 heure"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "Il y a 1 minute"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "Il y a 1 seconde"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "Ce matin"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "Cet après-midi"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "Aujourd'hui"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "Cette semaine"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "Ce mois-ci"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "Cette année"; 81 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/gre.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/DateTools/DateTools.bundle/gre.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/gu.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d દિવસ પહેલા"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d કલાક પહેલા"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d મિનિટ પહેલા"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d મહિના પહેલા"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d સેકન્ડ પહેલા"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d અઠવાડિયા પહેલા"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d વર્ષ પહેલા"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "એક મિનિટ પહેલા"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "એક કલાક પહેલા"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "હમણાં"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "ગયા મહિને"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "ગયા અઠવાડિયે"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "ગયા વર્ષે"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "ગઈ કાલે"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 વર્ષ પહેલાં"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 મહિનો પહેલા"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 અઠવાડિયું પહેલા"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 દિવસ પહેલાં"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "1 કલાક પહેલા"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "1 મિનિટ પહેલા"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "1 સેકન્ડ પહેલા"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "આ સવારે"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "આજે બપોરે"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "આજે"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "આ અઠવાડિયેું"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "આ મહિને"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "આ વર્ષે"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%dy"; // year 84 | "%dM" = "%dM"; // month 85 | "%dw" = "%dw"; // week 86 | "%dd" = "%dd"; // day 87 | "%dh" = "%dh"; // hour 88 | "%dm" = "%dm"; // minute 89 | "%ds" = "%ds"; // second 90 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/he.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "לפני %d ימים"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "לפני %d שעות"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "לפני %d דקות"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "לפני %d חודשים"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "לפני %d שניות"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "לפני %d שבועות"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "לפני %d שנים"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "לפני דקה"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "לפני שעה"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "ממש עכשיו"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "בחודש שעבר"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "בשבוע שעבר"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "בשנה שעברה"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "אתמול"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "לפני שנה"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "לפני חודש"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "לפני שבוע"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "לפני יום"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "הבוקר"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "בצהריים"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "היום"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "השבוע"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "החודש"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "השנה"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/hi.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d दिन पहले"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d घंटे पहले"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d मिनट पहले"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d महीन पहले"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d सेकंड पहले"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d हफ्ते पहले"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d साल पहले"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "एक मिनट पहले"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "एक घंटे पहले"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "बस अभी"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "पिछले महीने"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "पिछले हफ्ते"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "पिछले साल"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "कल"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 साल पहले"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 महीने पहले"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 हफ्ते पहले"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 दिन पहले"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "1 घंटे पहले"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "1 मिनट पहले"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "1 सेकंड पहले"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "आज सुबह"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "यह दोपहर"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "आज"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "इस सप्ताह"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "इस महीने"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "इस साल"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%dy"; // year 84 | "%dM" = "%dM"; // month 85 | "%dw" = "%dw"; // week 86 | "%dd" = "%dd"; // day 87 | "%dh" = "%dh"; // hour 88 | "%dm" = "%dm"; // minute 89 | "%ds" = "%ds"; // second 90 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/hr.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dana"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d prime sati"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d prije minuta"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d prije nekoliko mjeseci"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekunde prije"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d prije nekoliko tjedana"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d prije nekoliko godina"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "prije minute"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "prije sat vremena"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "upravo sada"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "prosli mjesec"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "prosli tjedan"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "prosle godine"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "jucer"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Prije 1 godina"; 45 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/hu.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d napja"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d órája"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d perce"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d hónapja"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d másodperce"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d hete"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d éve"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Egy perccel ezelőtt"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Egy órával ezelőtt"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Az imént"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Az előző hónapban"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Az előző héten"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Tavaly"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Tegnap"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Tavaly"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Egy hónapja"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Egy hete"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Tegnap"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Ma reggel"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Ma délután"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Ma"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Ezen a héten"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Ebben a hónapban"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Idén"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/id.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d hari yang lalu"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d jam yang lalu"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d menit yang lalu"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d bulan yang lalu"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d detik yang lalu"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d minggu yang lalu"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d tahun yang lalu"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Semenit yang lalu"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Sejam yang lalu"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Sekarang"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Bulan lalu"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Minggu lalu"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Tahun lalu"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Kemarin"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 tahun yang lalu"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 bulan yang lalu"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 minggu yang lalu"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 hari yang lalu"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Pagi ini"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Sore ini"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hari ini"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Minggu ini"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Bulan ini"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Tahun ini"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/is.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dögum síðan"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d klst. síðan"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d mínútum síðan"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d mánuðum síðan"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekúndum síðan"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d vikum síðan"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d árum síðan"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Einni mínútu síðan"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Einni klst. síðan"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Rétt í þessu"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Í síðasta mánuði"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Í síðustu viku"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Á síðasta ári"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Í gær"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 ári síðan"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mánuði síðan"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 viku síðan"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 degi síðan"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Í morgun"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Síðdegis"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Í dag"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Í þessari viku"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Í þessum mánuði"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Á þessu ári"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/it.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d giorni fa"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d ore fa"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minuti fa"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d mesi fa"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d secondi fa"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d settimane fa"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d anni fa"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Un minuto fa"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Un'ora fa"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Ora"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Il mese scorso"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La settimana scorsa"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "L'anno scorso"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ieri"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Un anno fa"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Un mese fa"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Una settimana fa"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Un giorno fa"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Questa mattina"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Questo pomeriggio"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Oggi"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Questa settimana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Questo mese"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Quest'anno"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/ja.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d日前"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d時間前"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d分前"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%dヶ月前"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d秒前"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d週間前"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d年前"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1分前"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1時間前"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "たった今"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "先月"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "先週"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "去年"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "昨日"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1年前"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1ヶ月前"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1週間前"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1日前"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "1時間前"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "1分前"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "1秒前"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "午前"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "午後"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "今日"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "今週"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "今月"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "今年"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%d年"; // year 84 | "%dM" = "%d月"; // month 85 | "%dw" = "%d週"; // week 86 | "%dd" = "%d日"; // day 87 | "%dh" = "%d時間"; // hour 88 | "%dm" = "%d分"; // minute 89 | "%ds" = "%d秒"; // second 90 | 91 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/ko.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d일 전"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d시간 전"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d분 전"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d개월 전"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d초 전"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d주 전"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d년 전"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1분 전"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1시간 전"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "방금 전"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "지난 달"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "지난 주"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "지난 해"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "어제"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1년 전"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1개월 전"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1주 전"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1일 전"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "오늘 아침"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "오늘 오후"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "오늘"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "이번 주"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "이번 달"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "올해"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/lv.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | "1 year ago" = "Pirms gada"; 2 | "1 month ago" = "Pirms mēneša"; 3 | "1 week ago" = "Pirms nedēļas"; 4 | "1 day ago" = "Pirms dienas"; 5 | "A minute ago" = "Pirms minūtes"; 6 | "An hour ago" = "Pirms stundas"; 7 | "Last month" = "Pagājušajā mēnesī"; 8 | "Last week" = "Pagājušajā nedēļā"; 9 | "Last year" = "Pagājušajā gadā"; 10 | "Just now" = "Tikko"; 11 | "Today" = "Šodien"; 12 | "Yesterday" = "Vakar"; 13 | "This morning" = "Šorīt"; 14 | "This afternoon" = "Pēcpusdienā"; 15 | "This week" = "Šonedēļ"; 16 | "This month" = "Šomēnes"; 17 | "This year" = "Šogad"; 18 | "%d seconds ago" = "Pirms %d sekundēm"; 19 | "%d minutes ago" = "Pirms %d minūtēm"; 20 | "%d hours ago" = "Pirms %d stundām"; 21 | "%d days ago" = "Pirms %d dienām"; 22 | "%d weeks ago" = "Pirms %d nedēļām"; 23 | "%d months ago" = "Pirms %d mēnešiem"; 24 | "%d years ago" = "Pirms %d gadiem"; 25 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/nl.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dagen geleden"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d uur geleden"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minuten geleden"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d maanden geleden"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d seconden geleden"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d weken geleden"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d jaar geleden"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Een minuut geleden"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Een uur geleden"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Zojuist"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Vorige maand"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Vorige week"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Vorig jaar"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Gisteren"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 jaar geleden"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 maand geleden"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 week geleden"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dag geleden"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Vanmorgen"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Vanmiddag"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Vandaag"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Deze week"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Deze maand"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Dit jaar"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/pl.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dni temu"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d godzin(y) temu"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minut(y) temu"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d miesiące/-y temu"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekund(y) temu"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d tygodni(e) temu"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d lat(a) temu"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Minutę temu"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Godzinę temu"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "W tej chwili"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "W zeszłym miesiącu"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "W zeszłym tygodniu"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "W zeszłym roku"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Wczoraj"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 rok temu"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 miesiąc temu"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 tydzień temu"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dzień temu"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Dziś rano"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Dziś po południu"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Dzisiaj"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "W tym tygodniu"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "W tym miesiącu"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "W tym roku"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/pt-PT.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dias atrás"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d horas atrás"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minutos atrás"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d meses atrás"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d segundos atrás"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d semanas atrás"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d anos atrás"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Um minuto atrás"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Uma hora atrás"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Agora mesmo"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Mês passado"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Semana passada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Ano passado"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ontem"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 ano passado"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mês atrás"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 semana atrás"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dia atrás"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Esta manhã"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Esta tarde"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hoje"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Esta semana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Este mês"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Este ano"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/pt.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dias atrás"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d horas atrás"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minutos atrás"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d meses atrás"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d segundos atrás"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d semanas atrás"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d anos atrás"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Há um minuto"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Há uma hora"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Agora"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Mês passado"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Semana passada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Ano passado"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ontem"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 ano atrás"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mês atrás"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 semana atrás"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dia atrás"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Esta manhã"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Esta tarde"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hoje"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Esta semana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Este mês"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Este ano"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/ro.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "În urmă cu %d zile"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "În urmă cu %d ore"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "În urmă cu %d minute"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "În urmă cu %d luni"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "În urmă cu %d secunde"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "În urmă cu %d săptămâni"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "În urmă cu %d ani"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "În urmă cu 1 minut"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "În urmă cu 1 oră"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Acum câteva momente"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Luna trecută"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Săptămâna trecută"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Anul trecut"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ieri"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "În urmă cu 1 an"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "În urmă cu 1 lună"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "În urmă cu 1 săptămână"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "În urmă cu 1 zi"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Azi dimineață"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "În această seară"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Astăzi"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Săptămâna aceasta"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Luna aceasta"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Anul acesta"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%da"; // year (an) 75 | "%dM" = "%dl"; // month (luna) 76 | "%dw" = "%dS"; // week (saptamana) 77 | "%dd" = "%dz"; // day (ziua) 78 | "%dh" = "%do"; // hour (ora) 79 | "%dm" = "%dm"; // minute (minut) 80 | "%ds" = "%ds"; // second (secunda) 81 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/sk.lproj/NSDateTimeAgo.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Pred %d dňami"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Pred %d hodinami"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Pred %d minútami"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Pred %d mesiaci"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Pred %d sekundami"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Pred %d týždňami"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Pred %d rokmi"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Pred minútou"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Pred hodinou"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Práve teraz"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Minulý mesiac"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Minulý týždeň"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Minulý rok"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Včera"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Pred rokom"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Pred mesiacom"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Pred týždňom"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Predvčerom"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Dnes dopoludnia"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Dnes popoludní"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Dnes"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tento týždeň"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tento mesiac"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Tento rok"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/sv.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/DateTools/DateTools.bundle/sv.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/th.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/DateTools/DateTools.bundle/th.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/tr.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d gün önce"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d saat önce"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d dakika önce"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d ay önce"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d saniye önce"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d hafta önce"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d yıl önce"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Bir dakika önce"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Bir saat önce"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Şimdi"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Geçen ay"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Geçen hafta"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Geçen yıl"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Dün"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 yıl önce"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 ay önce"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 hafta önce"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 gün önce"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Bu sabah"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Öğleden sonra"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Bugün"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Bu hafta"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Bu ay"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Bu yıl"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%dy"; // year 75 | "%dM" = "%day"; // month 76 | "%dw" = "%dh"; // week 77 | "%dd" = "%dg"; // day 78 | "%dh" = "%dsa"; // hour 79 | "%dm" = "%ddk"; // minute 80 | "%ds" = "%dsn"; // second 81 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/vi.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d ngày trước"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d giờ trước"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d phút trước"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d tháng trước"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d giây trước"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d tuần trước"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d năm trước"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Một phút trước"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Một giờ trước"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Vừa mới đây"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Tháng trước"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Tuần trước"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Năm vừa rồi"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Hôm qua"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 năm trước"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 tháng trước"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 tuần trước"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 ngày trước"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Sáng nay"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Trưa nay"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hôm nay"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tuần này"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tháng này"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Năm nay"; 72 | -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/zh-Hans.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d天前"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d小时前"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d分钟前"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d个月前"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d秒钟前"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d星期前"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d年前"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1分钟前"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1小时前"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "刚刚"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "上个月"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "上星期"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "去年"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "昨天"; 42 | 43 | /* You can add a space between the number and the characters. */ 44 | "1 year ago" = "1年前"; 45 | 46 | /* You can add a space between the number and the characters. */ 47 | "1 month ago" = "1个月前"; 48 | 49 | /* You can add a space between the number and the characters. */ 50 | "1 week ago" = "1星期前"; 51 | 52 | /* You can add a space between the number and the characters. */ 53 | "1 day ago" = "1天前"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "今天上午"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "今天下午"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "今天"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "本周"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "本月"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "今年"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%d年"; // year 75 | "%dM" = "%d月"; // month 76 | "%dw" = "%d周"; // week 77 | "%dd" = "%d天"; // day 78 | "%dh" = "%d小时"; // hour 79 | "%dm" = "%d分"; // minute 80 | "%ds" = "%d秒"; // second 81 | 82 | /* Week format for */ 83 | "Mon" = "星期一"; 84 | "Tue" = "星期二"; 85 | "Wed" = "星期三"; 86 | "Thu" = "星期四"; 87 | "Fri" = "星期五"; 88 | "Sat" = "星期六"; 89 | "Sun" = "星期日"; 90 | 91 | "周一" = "星期一"; 92 | "周二" = "星期二"; 93 | "周三" = "星期三"; 94 | "周四" = "星期四"; 95 | "周五" = "星期五"; 96 | "周六" = "星期六"; 97 | "周日" = "星期日"; -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.bundle/zh-Hant.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d天前"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d小時前"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d分鐘前"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d個月前"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d秒鐘前"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d星期前"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d年前"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1分鐘前"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1小時前"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "剛剛"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "上個月"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "上星期"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "去年"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "昨天"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1年前"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1個月前"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1星期前"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1天前"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "今天上午"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "今天下午"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "今天"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "本周"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "本月"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "今年"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%d年"; // year 75 | "%dM" = "%d月"; // month 76 | "%dw" = "%d週"; // week 77 | "%dd" = "%d天"; // day 78 | "%dh" = "%d小時"; // hour 79 | "%dm" = "%d分"; // minute 80 | "%ds" = "%d秒"; // second 81 | 82 | /* Week format for */ 83 | "Mon" = "星期壹"; 84 | "Tue" = "星期二"; 85 | "Wed" = "星期三"; 86 | "Thu" = "星期四"; 87 | "Fri" = "星期五"; 88 | "Sat" = "星期六"; 89 | "Sun" = "星期日"; 90 | 91 | "周壹" = "星期壹"; 92 | "周二" = "星期二"; 93 | "周三" = "星期三"; 94 | "周四" = "星期四"; 95 | "周五" = "星期五"; 96 | "周六" = "星期六"; 97 | "周日" = "星期日"; -------------------------------------------------------------------------------- /DateTools/DateTools/DateTools.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2014 by Matthew York 2 | // 3 | // Permission is hereby granted, free of charge, to any 4 | // person obtaining a copy of this software and 5 | // associated documentation files (the "Software"), to 6 | // deal in the Software without restriction, including 7 | // without limitation the rights to use, copy, modify, merge, 8 | // publish, distribute, sublicense, and/or sell copies of the 9 | // Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall 13 | // be included in all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 19 | // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20 | // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | 23 | #import "DTConstants.h" 24 | #import "DTError.h" 25 | #import "NSDate+DateTools.h" 26 | #import "DTTimePeriod.h" 27 | #import "DTTimePeriodGroup.h" 28 | #import "DTTimePeriodCollection.h" 29 | #import "DTTimePeriodChain.h" -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateTools macOS/DateTools macOS.h: -------------------------------------------------------------------------------- 1 | // 2 | // DateTools macOS.h 3 | // DateTools macOS 4 | // 5 | // Created by Tom Baranes on 22/09/2016. 6 | // 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for DateTools macOS. 12 | FOUNDATION_EXPORT double DateTools_macOSVersionNumber; 13 | 14 | //! Project version string for DateTools macOS. 15 | FOUNDATION_EXPORT const unsigned char DateTools_macOSVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateTools macOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateTools/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // DateToolsExample 4 | // 5 | // Created by Matthew York on 3/19/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | @property (strong, nonatomic) UITabBarController *tabBarController; 15 | @end 16 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Calendar.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Calendar@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Calendar@2x.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Calendar_filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Calendar_filled.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Calendar_filled@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Calendar_filled@2x.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/DateToolsExample-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/DateToolsExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/DateToolsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DateToolsViewController.h 3 | // DateToolsExample 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface DateToolsViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/ExampleNavigationController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ExampleNavigationController.h 3 | // DateToolsExample 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface ExampleNavigationController : UINavigationController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/ExampleNavigationController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ExampleNavigationController.m 3 | // DateToolsExample 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import "ExampleNavigationController.h" 10 | #import "Colours.h" 11 | 12 | @interface ExampleNavigationController () 13 | 14 | @end 15 | 16 | @implementation ExampleNavigationController 17 | 18 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil 19 | { 20 | self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; 21 | if (self) { 22 | // Custom initialization 23 | } 24 | return self; 25 | } 26 | 27 | - (void)viewDidLoad 28 | { 29 | [super viewDidLoad]; 30 | // Do any additional setup after loading the view. 31 | 32 | if ([self.navigationBar respondsToSelector:@selector(setTranslucent:)]) { 33 | self.navigationBar.translucent = NO; 34 | self.navigationBar.barTintColor = [UIColor infoBlueColor]; 35 | self.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor], NSFontAttributeName: [UIFont fontWithName:@"HelveticaNeue-Light" size:21.0]}; 36 | [[UIBarButtonItem appearance] setTintColor:[UIColor whiteColor]]; 37 | } 38 | } 39 | 40 | - (void)didReceiveMemoryWarning 41 | { 42 | [super didReceiveMemoryWarning]; 43 | // Dispose of any resources that can be recreated. 44 | } 45 | 46 | -(UIStatusBarStyle)preferredStatusBarStyle{ 47 | return UIStatusBarStyleLightContent; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Recents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Recents.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Recents@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Recents@2x.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Recents_filled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Recents_filled.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/Recents_filled@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Examples/DateToolsExample/DateToolsExample/Recents_filled@2x.png -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/TimePeriodsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TimePeriodsViewController.h 3 | // DateToolsExample 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface TimePeriodsViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // DateToolsExample 4 | // 5 | // Created by Matthew York on 3/19/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExampleTests/DateToolsExampleTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /DateTools/Examples/DateToolsExample/DateToolsExampleTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 11 | @implementation AppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/DateToolsTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | com.mattyork.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/DateToolsTests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "NSDate+DateTools.h" 11 | 12 | @interface ViewController () 13 | 14 | @end 15 | 16 | @implementation ViewController 17 | 18 | - (void)viewDidLoad 19 | { 20 | [super viewDidLoad]; 21 | //Time ago test 22 | NSLog(@"10 months Ago: %@", [[NSDate date] dateBySubtractingMonths:10].timeAgoSinceNow); 23 | NSLog(@"8 weeks Ago: %@", [[NSDate date] dateBySubtractingWeeks:8].timeAgoSinceNow); 24 | NSLog(@"3 days Ago: %@", [[NSDate date] dateBySubtractingDays:3].timeAgoSinceNow); 25 | NSLog(@"2 hours Ago: %@", [[NSDate date] dateBySubtractingHours:2].timeAgoSinceNow); 26 | NSLog(@"5 minutes Ago: %@", [[NSDate date] dateBySubtractingMinutes:5].timeAgoSinceNow); 27 | NSLog(@"1 second Ago: %@", [[NSDate date] dateBySubtractingSeconds:1].timeAgoSinceNow); 28 | NSLog(@"now Ago: %@", [NSDate date].timeAgoSinceNow); 29 | 30 | //Short time ago test 31 | NSLog(@"10 months Ago: %@", [[NSDate date] dateBySubtractingMonths:10].shortTimeAgoSinceNow); 32 | NSLog(@"8 weeks Ago: %@", [[NSDate date] dateBySubtractingWeeks:8].shortTimeAgoSinceNow); 33 | NSLog(@"3 days Ago: %@", [[NSDate date] dateBySubtractingDays:3].shortTimeAgoSinceNow); 34 | NSLog(@"2 hours Ago: %@", [[NSDate date] dateBySubtractingHours:2].shortTimeAgoSinceNow); 35 | NSLog(@"5 minutes Ago: %@", [[NSDate date] dateBySubtractingMinutes:5].shortTimeAgoSinceNow); 36 | NSLog(@"1 second Ago: %@", [[NSDate date] dateBySubtractingSeconds:1].shortTimeAgoSinceNow); 37 | NSLog(@"now Ago: %@", [NSDate date].timeAgoSinceNow); 38 | 39 | //Test formatters 40 | NSString *dateStringFormatTest = [[NSDate date] formattedDateWithFormat:@"dd MMM, yyyy"]; 41 | NSString *dateStringStyleTest = [[NSDate date] formattedDateWithStyle:NSDateFormatterLongStyle timeZone:[NSTimeZone localTimeZone] locale:[NSLocale currentLocale]]; 42 | NSString *dateStringStyleTest2 = [[NSDate date] formattedDateWithStyle:NSDateFormatterShortStyle timeZone:[NSTimeZone localTimeZone] locale:[NSLocale currentLocale]]; 43 | NSLog(@"%@", dateStringFormatTest); 44 | NSLog(@"%@", dateStringStyleTest); 45 | NSLog(@"%@", dateStringStyleTest2); 46 | } 47 | 48 | - (void)didReceiveMemoryWarning 49 | { 50 | [super didReceiveMemoryWarning]; 51 | // Dispose of any resources that can be recreated. 52 | } 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/es.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/es.lproj/Main.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Tests/DateToolsTests/DateToolsTests/es.lproj/Main.strings -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/ja.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/ja.lproj/Main.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateTools/Tests/DateToolsTests/DateToolsTests/ja.lproj/Main.strings -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTests/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 3/22/14. 6 | // 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTestsTests/DateToolsTestsTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.mattyork.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTestsTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTestsTests/es.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateTools/Tests/DateToolsTests/DateToolsTestsTests/ja.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DateToolsSwift.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'DateToolsSwift' 3 | s.version = '5.0.0' 4 | s.summary = 'Dates and time made easy in Swift' 5 | s.homepage = 'https://github.com/MatthewYork/DateTools' 6 | 7 | s.description = 'DateTools was written to streamline date and time handling in Swift.' 8 | 9 | s.license = { :type => 'MIT', :file => 'LICENSE' } 10 | s.author = { "Matthew York" => "my3681@gmail.com" } 11 | 12 | s.source = { :git => "https://github.com/MatthewYork/DateTools.git", 13 | :tag => "#{s.version.to_s}" } 14 | 15 | s.ios.deployment_target = '8.0' 16 | s.osx.deployment_target = '10.9' 17 | s.tvos.deployment_target = '9.0' 18 | s.watchos.deployment_target = '2.0' 19 | s.requires_arc = true 20 | 21 | s.source_files = 'DateToolsSwift/DateTools' 22 | s.resources = 'DateToolsSwift/DateTools/DateTools.bundle' 23 | end 24 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/Constants.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Constants.swift 3 | // DateTools 4 | // 5 | // Created by Grayson Webster on 8/17/16. 6 | // Copyright © 2016 Grayson Webster. All rights reserved. 7 | // 8 | 9 | 10 | import Foundation 11 | 12 | /** 13 | * Time conversions used across DateTools 14 | */ 15 | public class Constants { 16 | public static let SecondsInYear: TimeInterval = 31536000 17 | public static let SecondsInLeapYear: TimeInterval = 31622400 18 | public static let SecondsInMonth28: TimeInterval = 2419200 19 | public static let SecondsInMonth29: TimeInterval = 2505600 20 | public static let SecondsInMonth30: TimeInterval = 2592000 21 | public static let SecondsInMonth31: TimeInterval = 2678400 22 | public static let SecondsInWeek: TimeInterval = 604800 23 | public static let SecondsInDay: TimeInterval = 86400 24 | public static let SecondsInHour: TimeInterval = 3600 25 | public static let SecondsInMinute: TimeInterval = 60 26 | public static let MillisecondsInDay: TimeInterval = 86400000 27 | 28 | public static let AllCalendarUnitFlags: Set = [.year, .quarter, .month, .weekOfYear, .weekOfMonth, .day, .hour, .minute, .second, .era, .weekday, .weekdayOrdinal, .weekOfYear] 29 | } 30 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/Date+Bundle.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Date+Bundle.swift 3 | // DateTools 4 | // 5 | // Created by Matthew York on 8/26/16. 6 | // Copyright © 2016 Matthew York. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | public extension Bundle { 12 | 13 | class func dateToolsBundle() -> Bundle? { 14 | let assetPath: String? 15 | #if SPM 16 | assetPath = Bundle.module.resourcePath 17 | #else 18 | assetPath = Bundle(for: Constants.self).resourcePath 19 | #endif 20 | guard let assetPath = assetPath else { return nil } 21 | return Bundle(path: NSString(string: assetPath).appendingPathComponent("DateTools.bundle")) 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/am.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d ቀናት በፊት"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d ሰዓታት በፊት"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d ደቂቃዎች በፊት"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d ወሮች በፊት"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d ሰከንዶች በፊት"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d ሳምንታት በፊት"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d አመታት በፊት"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "አንድ ደቂቃ በፊት"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "አንድ ሰዓት በፊት"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "ልክ አሁን"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "ያለፈው ወር"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "ያለፈው ሳምንት"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "ያለፈው አመት"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "ትናንትና"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "አንድ አመት በፊት"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "አንድ ወር በፊት"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "አንድ ሳምንት በፊት"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "አንድ ቀን በፊት"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "አንድ ሰዓት በፊት"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "አንድ ደቂቃ በፊት"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "አንድ ሰከንድ በፊት"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "ዛሬ ጠዋት"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "ዛሬ ከሰዓት"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "ዛሬ"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "በዚህ ሳምንት"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "በዚህ ወር"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "በዚህ አመት"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%dy"; // year 84 | "%dM" = "%dM"; // month 85 | "%dw" = "%dw"; // week 86 | "%dd" = "%dd"; // day 87 | "%dh" = "%dh"; // hour 88 | "%dm" = "%dm"; // minute 89 | "%ds" = "%ds"; // second 90 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/ar.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateToolsSwift/DateTools/DateTools.bundle/ar.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/bg.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "преди %d дена"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "преди %d часа"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "преди %d минути"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "преди %d месеца"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "преди %d секунди"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "преди %d седмици"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "преди %d години"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "преди минута"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "преди час"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "току що"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "през последния месец"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "през последната седмица"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "през последната година"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "вчера"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "преди 1 година"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "преди 1 месец"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "преди 1 седмица"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "преди 1 ден"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "тази сутрин"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "тази вечер"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "днес"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "тази седмица"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "този месец"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "тази година"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/ca.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Fa %d dies"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Fa %d hores"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Fa %d minuts"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Fa %d mesos"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Fa %d segons"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Fa %d setmanes"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Fa %d anys"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Fa un minut"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Fa una hora"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Fa un moment"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "El mes passat"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La setmana passada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "L'any passat"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ahir"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Fa un any"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Fa un mes"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Fa una setmana"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Fa un dia"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Aquest matí"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Aquesta tarda"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Avui"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Aquesta setmana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Aquest mes"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Aquest any"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/cs.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Před %d dny"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Před %d hodinami"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Před %d minutami"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Před %d měsíci"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Před %d sekundami"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Před %d týdny"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Před %d lety"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Před minutou"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Před hodinou"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Právě teď"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Minulý měsíc"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Minulý týden"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Minulý rok"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Včera"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Před rokem"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Před měsícem"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Před týdnem"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Předevčírem"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Dnes dopoledne"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Dnes odpoledne"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Dnes"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tento týden"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tento měsíc"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Letos"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%dr"; // year 75 | "%dM" = "%dM"; // month 76 | "%dw" = "%dt"; // week 77 | "%dd" = "%dd"; // day 78 | "%dh" = "%dh"; // hour 79 | "%dm" = "%dm"; // minute 80 | "%ds" = "%ds"; // second 81 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/cy.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d diwrnod yn ôl"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d awr yn ôl"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d munud yn ôl"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d mis yn ôl"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d eiliad yn ôl"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d wythnos yn ôl"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d mlynydd yn ôl"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Un munud yn ôl"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Un awr yn ôl"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Nawr"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Mis diwethaf"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Wythnos diwethaf"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Llynedd"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ddoe"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 flynydd yn ôl"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mis yn ôl"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 wythnos yn ôl"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 diwrnod yn ôl"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Y bore ma"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Y penwythnos hon"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Heddiw"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Yr wythnos hon"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Y mis hon"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Eleni"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/da.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dage siden"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d timer siden"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minutter siden"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d måneder siden"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekunder siden"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d uger siden"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d år siden"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Et minut siden"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "En time siden"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Lige nu"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Sidste måned"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Sidste uge"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Sidste år"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "I går"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 år siden"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 måned siden"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 uge siden"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dag siden"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Her til morgen"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Her til eftermiddag"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "I dag"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Denne uge"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Denne måned"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Dette år"; -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/de.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Vor %d Tagen"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Vor %d Stunden"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Vor %d Minuten"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Vor %d Monaten"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Vor %d Sekunden"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Vor %d Wochen"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Vor %d Jahren"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Vor einer Minute"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Vor einer Stunde"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Gerade eben"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Letzten Monat"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Letzte Woche"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Letztes Jahr"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Gestern"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Vor 1 Jahr"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Vor 1 Monat"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Vor 1 Woche"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Vor 1 Tag"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Heute Morgen"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Heute Nachmittag"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Heute"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Diese Woche"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Diesen Monat"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Dieses Jahr"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%dJ"; // year 75 | "%dM" = "%dM"; // month 76 | "%dw" = "%dW"; // week 77 | "%dd" = "%dT"; // day 78 | "%dh" = "%dh"; // hour 79 | "%dm" = "%dm"; // minute 80 | "%ds" = "%ds"; // second 81 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/es.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Hace %d días"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Hace %d horas"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Hace %d minutos"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Hace %d meses"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Hace %d segundos"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Hace %d semanas"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Hace %d años"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Hace un minuto"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Hace una hora"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Ahora mismo"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "El mes pasado"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La semana pasada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "El año pasado"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ayer"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Hace un año"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Hace un mes"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Hace una semana"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Hace un día"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "Hace 1 hora"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This morning" = "Esta mañana"; 60 | 61 | /* No comment provided by engineer. */ 62 | "This afternoon" = "Esta tarde"; 63 | 64 | /* No comment provided by engineer. */ 65 | "Today" = "Hoy"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This week" = "Esta semana"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This month" = "Este mes"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This year" = "Este año"; 75 | 76 | /* Short format for */ 77 | "%dy" = "%da"; // year 78 | "%dM" = "%dM"; // month 79 | "%dw" = "%dS"; // week 80 | "%dd" = "%dd"; // day 81 | "%dh" = "%dh"; // hour 82 | "%dm" = "%dm"; // minute 83 | "%ds" = "%ds"; // second 84 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/eu.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Orain dela %d egun"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Orain dela %d ordu"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Orain dela %d minutu"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Orain dela %d hile"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Orain dela %d segundu"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Orain dela %d aste"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Orain dela %d urte"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Orain dela minutu bat"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Orain dela ordu bat"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Oraintxe bertan"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Pasa den hilean"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Pasa den astean"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Pasa den urtean"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Atzo"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Orain dela urte bat"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Orain dela hile bat"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Orain dela aste bat"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Orain dela egun bat"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Gaur goizean"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Gaur arratsaldean"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Gaur"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Aste honetan"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Hile honetan"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Urte honetan"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/fi.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d päivää sitten"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d tuntia sitten"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minuuttia sitten"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d kuukautta sitten"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekuntia sitten"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d viikkoa sitten"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d vuotta sitten"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Minuutti sitten"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Tunti sitten"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Juuri äsken"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Viime kuussa"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Viime viikolla"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Viime vuonna"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Eilen"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Vuosi sitten"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Kuukausi sitten"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Viikko sitten"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Vuorokausi sitten"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Tänä aamuna"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Tänä iltapäivänä"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Tänään"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tällä viikolla"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tässä kuussa"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Tänä vuonna"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/fr.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Il y a %d jours"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Il y a %d heures"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Il y a %d minutes"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Il y a %d mois"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Il y a %d secondes"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Il y a %d semaines"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Il y a %d ans"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Il y a une minute"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Il y a une heure"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "A l'instant"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Le mois dernier"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La semaine dernière"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "L'année dernière"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Hier"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Il y a 1 an"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Il y a 1 mois"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Il y a 1 semaine"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Il y a 1 jour"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "Il y a 1 heure"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "Il y a 1 minute"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "Il y a 1 seconde"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "Ce matin"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "Cet après-midi"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "Aujourd'hui"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "Cette semaine"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "Ce mois-ci"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "Cette année"; 81 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/gre.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateToolsSwift/DateTools/DateTools.bundle/gre.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/he.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "לפני %d ימים"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "לפני %d שעות"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "לפני %d דקות"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "לפני %d חודשים"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "לפני %d שניות"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "לפני %d שבועות"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "לפני %d שנים"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "לפני דקה"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "לפני שעה"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "ממש עכשיו"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "בחודש שעבר"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "בשבוע שעבר"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "בשנה שעברה"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "אתמול"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "לפני שנה"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "לפני חודש"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "לפני שבוע"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "לפני יום"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "הבוקר"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "בצהריים"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "היום"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "השבוע"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "החודש"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "השנה"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/hi.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d दिन पहले"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d घंटे पहले"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d मिनट पहले"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d महीन पहले"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d सेकंड पहले"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d हफ्ते पहले"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d साल पहले"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "एक मिनट पहले"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "एक घंटे पहले"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "बस अभी"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "पिछले महीने"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "पिछले हफ्ते"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "पिछले साल"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "कल"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 साल पहले"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 महीने पहले"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 हफ्ते पहले"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 दिन पहले"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "1 घंटे पहले"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "1 मिनट पहले"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "1 सेकंड पहले"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "आज सुबह"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "यह दोपहर"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "आज"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "इस सप्ताह"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "इस महीने"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "इस साल"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%dy"; // year 84 | "%dM" = "%dM"; // month 85 | "%dw" = "%dw"; // week 86 | "%dd" = "%dd"; // day 87 | "%dh" = "%dh"; // hour 88 | "%dm" = "%dm"; // minute 89 | "%ds" = "%ds"; // second 90 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/hr.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dana"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d prime sati"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d prije minuta"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d prije nekoliko mjeseci"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekunde prije"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d prije nekoliko tjedana"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d prije nekoliko godina"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "prije minute"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "prije sat vremena"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "upravo sada"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "prosli mjesec"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "prosli tjedan"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "prosle godine"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "jucer"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Prije 1 godina"; 45 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/hu.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d napja"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d órája"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d perce"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d hónapja"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d másodperce"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d hete"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d éve"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Egy perccel ezelőtt"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Egy órával ezelőtt"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Az imént"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Az előző hónapban"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Az előző héten"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Tavaly"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Tegnap"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Tavaly"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Egy hónapja"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Egy hete"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Tegnap"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Ma reggel"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Ma délután"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Ma"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Ezen a héten"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Ebben a hónapban"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Idén"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/id.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d hari yang lalu"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d jam yang lalu"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d menit yang lalu"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d bulan yang lalu"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d detik yang lalu"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d minggu yang lalu"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d tahun yang lalu"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Semenit yang lalu"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Sejam yang lalu"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Sekarang"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Bulan lalu"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Minggu lalu"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Tahun lalu"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Kemarin"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 tahun yang lalu"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 bulan yang lalu"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 minggu yang lalu"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 hari yang lalu"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Pagi ini"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Sore ini"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hari ini"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Minggu ini"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Bulan ini"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Tahun ini"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/is.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dögum síðan"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d klst. síðan"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d mínútum síðan"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d mánuðum síðan"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekúndum síðan"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d vikum síðan"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d árum síðan"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Einni mínútu síðan"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Einni klst. síðan"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Rétt í þessu"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Í síðasta mánuði"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Í síðustu viku"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Á síðasta ári"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Í gær"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 ári síðan"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mánuði síðan"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 viku síðan"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 degi síðan"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Í morgun"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Síðdegis"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Í dag"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Í þessari viku"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Í þessum mánuði"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Á þessu ári"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/it.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d giorni fa"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d ore fa"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minuti fa"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d mesi fa"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d secondi fa"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d settimane fa"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d anni fa"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Un minuto fa"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Un'ora fa"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Ora"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Il mese scorso"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "La settimana scorsa"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "L'anno scorso"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ieri"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Un anno fa"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Un mese fa"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Una settimana fa"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Un giorno fa"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Questa mattina"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Questo pomeriggio"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Oggi"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Questa settimana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Questo mese"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Quest'anno"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/ja.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d日前"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d時間前"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d分前"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%dヶ月前"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d秒前"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d週間前"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d年前"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1分前"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1時間前"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "たった今"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "先月"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "先週"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "去年"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "昨日"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1年前"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1ヶ月前"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1週間前"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1日前"; 54 | 55 | /* No comment provided by engineer. */ 56 | "1 hour ago" = "1時間前"; 57 | 58 | /* No comment provided by engineer. */ 59 | "1 minute ago" = "1分前"; 60 | 61 | /* No comment provided by engineer. */ 62 | "1 second ago" = "1秒前"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This morning" = "午前"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This afternoon" = "午後"; 69 | 70 | /* No comment provided by engineer. */ 71 | "Today" = "今日"; 72 | 73 | /* No comment provided by engineer. */ 74 | "This week" = "今週"; 75 | 76 | /* No comment provided by engineer. */ 77 | "This month" = "今月"; 78 | 79 | /* No comment provided by engineer. */ 80 | "This year" = "今年"; 81 | 82 | /* Short format for */ 83 | "%dy" = "%d年"; // year 84 | "%dM" = "%d月"; // month 85 | "%dw" = "%d週"; // week 86 | "%dd" = "%d日"; // day 87 | "%dh" = "%d時間"; // hour 88 | "%dm" = "%d分"; // minute 89 | "%ds" = "%d秒"; // second 90 | 91 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/ko.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d일 전"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d시간 전"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d분 전"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d개월 전"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d초 전"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d주 전"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d년 전"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1분 전"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1시간 전"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "방금 전"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "지난 달"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "지난 주"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "지난 해"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "어제"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1년 전"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1개월 전"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1주 전"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1일 전"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "오늘 아침"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "오늘 오후"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "오늘"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "이번 주"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "이번 달"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "올해"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/lv.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | "1 year ago" = "Pirms gada"; 2 | "1 month ago" = "Pirms mēneša"; 3 | "1 week ago" = "Pirms nedēļas"; 4 | "1 day ago" = "Pirms dienas"; 5 | "A minute ago" = "Pirms minūtes"; 6 | "An hour ago" = "Pirms stundas"; 7 | "Last month" = "Pagājušajā mēnesī"; 8 | "Last week" = "Pagājušajā nedēļā"; 9 | "Last year" = "Pagājušajā gadā"; 10 | "Just now" = "Tikko"; 11 | "Today" = "Šodien"; 12 | "Yesterday" = "Vakar"; 13 | "This morning" = "Šorīt"; 14 | "This afternoon" = "Pēcpusdienā"; 15 | "This week" = "Šonedēļ"; 16 | "This month" = "Šomēnes"; 17 | "This year" = "Šogad"; 18 | "%d seconds ago" = "Pirms %d sekundēm"; 19 | "%d minutes ago" = "Pirms %d minūtēm"; 20 | "%d hours ago" = "Pirms %d stundām"; 21 | "%d days ago" = "Pirms %d dienām"; 22 | "%d weeks ago" = "Pirms %d nedēļām"; 23 | "%d months ago" = "Pirms %d mēnešiem"; 24 | "%d years ago" = "Pirms %d gadiem"; 25 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/nl.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dagen geleden"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d uur geleden"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minuten geleden"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d maanden geleden"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d seconden geleden"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d weken geleden"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d jaar geleden"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Een minuut geleden"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Een uur geleden"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Zojuist"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Vorige maand"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Vorige week"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Vorig jaar"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Gisteren"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 jaar geleden"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 maand geleden"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 week geleden"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dag geleden"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Vanmorgen"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Vanmiddag"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Vandaag"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Deze week"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Deze maand"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Dit jaar"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/pl.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dni temu"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d godzin(y) temu"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minut(y) temu"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d miesiące/-y temu"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d sekund(y) temu"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d tygodni(e) temu"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d lat(a) temu"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Minutę temu"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Godzinę temu"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "W tej chwili"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "W zeszłym miesiącu"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "W zeszłym tygodniu"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "W zeszłym roku"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Wczoraj"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 rok temu"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 miesiąc temu"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 tydzień temu"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dzień temu"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Dziś rano"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Dziś po południu"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Dzisiaj"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "W tym tygodniu"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "W tym miesiącu"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "W tym roku"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/pt-PT.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dias atrás"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d horas atrás"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minutos atrás"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d meses atrás"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d segundos atrás"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d semanas atrás"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d anos atrás"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Um minuto atrás"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Uma hora atrás"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Agora mesmo"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Mês passado"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Semana passada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Ano passado"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ontem"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 ano passado"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mês atrás"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 semana atrás"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dia atrás"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Esta manhã"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Esta tarde"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hoje"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Esta semana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Este mês"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Este ano"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/pt.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d dias atrás"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d horas atrás"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d minutos atrás"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d meses atrás"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d segundos atrás"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d semanas atrás"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d anos atrás"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Há um minuto"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Há uma hora"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Agora"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Mês passado"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Semana passada"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Ano passado"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ontem"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 ano atrás"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 mês atrás"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 semana atrás"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 dia atrás"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Esta manhã"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Esta tarde"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hoje"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Esta semana"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Este mês"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Este ano"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/ro.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "În urmă cu %d zile"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "În urmă cu %d ore"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "În urmă cu %d minute"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "În urmă cu %d luni"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "În urmă cu %d secunde"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "În urmă cu %d săptămâni"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "În urmă cu %d ani"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "În urmă cu 1 minut"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "În urmă cu 1 oră"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Acum câteva momente"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Luna trecută"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Săptămâna trecută"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Anul trecut"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Ieri"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "În urmă cu 1 an"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "În urmă cu 1 lună"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "În urmă cu 1 săptămână"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "În urmă cu 1 zi"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Azi dimineață"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "În această seară"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Astăzi"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Săptămâna aceasta"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Luna aceasta"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Anul acesta"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%da"; // year (an) 75 | "%dM" = "%dl"; // month (luna) 76 | "%dw" = "%dS"; // week (saptamana) 77 | "%dd" = "%dz"; // day (ziua) 78 | "%dh" = "%do"; // hour (ora) 79 | "%dm" = "%dm"; // minute (minut) 80 | "%ds" = "%ds"; // second (secunda) 81 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/sk.lproj/NSDateTimeAgo.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "Pred %d dňami"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "Pred %d hodinami"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "Pred %d minútami"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "Pred %d mesiaci"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "Pred %d sekundami"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "Pred %d týždňami"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "Pred %d rokmi"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Pred minútou"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Pred hodinou"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Práve teraz"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Minulý mesiac"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Minulý týždeň"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Minulý rok"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Včera"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "Pred rokom"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "Pred mesiacom"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "Pred týždňom"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "Predvčerom"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Dnes dopoludnia"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Dnes popoludní"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Dnes"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tento týždeň"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tento mesiac"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Tento rok"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/sv.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateToolsSwift/DateTools/DateTools.bundle/sv.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/th.lproj/DateTools.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateToolsSwift/DateTools/DateTools.bundle/th.lproj/DateTools.strings -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/tr.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d gün önce"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d saat önce"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d dakika önce"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d ay önce"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d saniye önce"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d hafta önce"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d yıl önce"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Bir dakika önce"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Bir saat önce"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Şimdi"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Geçen ay"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Geçen hafta"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Geçen yıl"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Dün"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 yıl önce"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 ay önce"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 hafta önce"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 gün önce"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Bu sabah"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Öğleden sonra"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Bugün"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Bu hafta"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Bu ay"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Bu yıl"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%dy"; // year 75 | "%dM" = "%day"; // month 76 | "%dw" = "%dh"; // week 77 | "%dd" = "%dg"; // day 78 | "%dh" = "%dsa"; // hour 79 | "%dm" = "%ddk"; // minute 80 | "%ds" = "%dsn"; // second 81 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/vi.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d ngày trước"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d giờ trước"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d phút trước"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d tháng trước"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d giây trước"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d tuần trước"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d năm trước"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "Một phút trước"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "Một giờ trước"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "Vừa mới đây"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "Tháng trước"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "Tuần trước"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "Năm vừa rồi"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "Hôm qua"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1 năm trước"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1 tháng trước"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1 tuần trước"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1 ngày trước"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "Sáng nay"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "Trưa nay"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "Hôm nay"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "Tuần này"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "Tháng này"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "Năm nay"; 72 | -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/zh-Hans.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d天前"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d小时前"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d分钟前"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d个月前"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d秒钟前"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d星期前"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d年前"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1分钟前"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1小时前"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "刚刚"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "上个月"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "上星期"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "去年"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "昨天"; 42 | 43 | /* You can add a space between the number and the characters. */ 44 | "1 year ago" = "1年前"; 45 | 46 | /* You can add a space between the number and the characters. */ 47 | "1 month ago" = "1个月前"; 48 | 49 | /* You can add a space between the number and the characters. */ 50 | "1 week ago" = "1星期前"; 51 | 52 | /* You can add a space between the number and the characters. */ 53 | "1 day ago" = "1天前"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "今天上午"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "今天下午"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "今天"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "本周"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "本月"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "今年"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%d年"; // year 75 | "%dM" = "%d月"; // month 76 | "%dw" = "%d周"; // week 77 | "%dd" = "%d天"; // day 78 | "%dh" = "%d小时"; // hour 79 | "%dm" = "%d分"; // minute 80 | "%ds" = "%d秒"; // second 81 | 82 | /* Week format for */ 83 | "Mon" = "星期一"; 84 | "Tue" = "星期二"; 85 | "Wed" = "星期三"; 86 | "Thu" = "星期四"; 87 | "Fri" = "星期五"; 88 | "Sat" = "星期六"; 89 | "Sun" = "星期日"; 90 | 91 | "周一" = "星期一"; 92 | "周二" = "星期二"; 93 | "周三" = "星期三"; 94 | "周四" = "星期四"; 95 | "周五" = "星期五"; 96 | "周六" = "星期六"; 97 | "周日" = "星期日"; -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/DateTools.bundle/zh-Hant.lproj/DateTools.strings: -------------------------------------------------------------------------------- 1 | /* No comment provided by engineer. */ 2 | "%d days ago" = "%d天前"; 3 | 4 | /* No comment provided by engineer. */ 5 | "%d hours ago" = "%d小時前"; 6 | 7 | /* No comment provided by engineer. */ 8 | "%d minutes ago" = "%d分鐘前"; 9 | 10 | /* No comment provided by engineer. */ 11 | "%d months ago" = "%d個月前"; 12 | 13 | /* No comment provided by engineer. */ 14 | "%d seconds ago" = "%d秒鐘前"; 15 | 16 | /* No comment provided by engineer. */ 17 | "%d weeks ago" = "%d星期前"; 18 | 19 | /* No comment provided by engineer. */ 20 | "%d years ago" = "%d年前"; 21 | 22 | /* No comment provided by engineer. */ 23 | "A minute ago" = "1分鐘前"; 24 | 25 | /* No comment provided by engineer. */ 26 | "An hour ago" = "1小時前"; 27 | 28 | /* No comment provided by engineer. */ 29 | "Just now" = "剛剛"; 30 | 31 | /* No comment provided by engineer. */ 32 | "Last month" = "上個月"; 33 | 34 | /* No comment provided by engineer. */ 35 | "Last week" = "上星期"; 36 | 37 | /* No comment provided by engineer. */ 38 | "Last year" = "去年"; 39 | 40 | /* No comment provided by engineer. */ 41 | "Yesterday" = "昨天"; 42 | 43 | /* No comment provided by engineer. */ 44 | "1 year ago" = "1年前"; 45 | 46 | /* No comment provided by engineer. */ 47 | "1 month ago" = "1個月前"; 48 | 49 | /* No comment provided by engineer. */ 50 | "1 week ago" = "1星期前"; 51 | 52 | /* No comment provided by engineer. */ 53 | "1 day ago" = "1天前"; 54 | 55 | /* No comment provided by engineer. */ 56 | "This morning" = "今天上午"; 57 | 58 | /* No comment provided by engineer. */ 59 | "This afternoon" = "今天下午"; 60 | 61 | /* No comment provided by engineer. */ 62 | "Today" = "今天"; 63 | 64 | /* No comment provided by engineer. */ 65 | "This week" = "本周"; 66 | 67 | /* No comment provided by engineer. */ 68 | "This month" = "本月"; 69 | 70 | /* No comment provided by engineer. */ 71 | "This year" = "今年"; 72 | 73 | /* Short format for */ 74 | "%dy" = "%d年"; // year 75 | "%dM" = "%d月"; // month 76 | "%dw" = "%d週"; // week 77 | "%dd" = "%d天"; // day 78 | "%dh" = "%d小時"; // hour 79 | "%dm" = "%d分"; // minute 80 | "%ds" = "%d秒"; // second 81 | 82 | /* Week format for */ 83 | "Mon" = "星期壹"; 84 | "Tue" = "星期二"; 85 | "Wed" = "星期三"; 86 | "Thu" = "星期四"; 87 | "Fri" = "星期五"; 88 | "Sat" = "星期六"; 89 | "Sun" = "星期日"; 90 | 91 | "周壹" = "星期壹"; 92 | "周二" = "星期二"; 93 | "周三" = "星期三"; 94 | "周四" = "星期四"; 95 | "周五" = "星期五"; 96 | "周六" = "星期六"; 97 | "周日" = "星期日"; -------------------------------------------------------------------------------- /DateToolsSwift/DateTools/Integer+DateTools.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Integer+DateTools.swift 3 | // DateTools 4 | // 5 | // Created by Grayson Webster on 8/17/16. 6 | // Copyright © 2016 Grayson Webster. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | public extension Int { 12 | 13 | //MARK: TimePeriod 14 | 15 | /** 16 | * A `TimeChunk` with its seconds component set to the value of self 17 | */ 18 | var seconds: TimeChunk { 19 | return TimeChunk(seconds: self, minutes: 0, hours: 0, days: 0, weeks: 0, months: 0, years: 0) 20 | } 21 | 22 | /** 23 | * A `TimeChunk` with its minutes component set to the value of self 24 | */ 25 | var minutes: TimeChunk { 26 | return TimeChunk(seconds: 0, minutes: self, hours: 0, days: 0, weeks: 0, months: 0, years: 0) 27 | } 28 | 29 | /** 30 | * A `TimeChunk` with its hours component set to the value of self 31 | */ 32 | var hours: TimeChunk { 33 | return TimeChunk(seconds: 0, minutes: 0, hours: self, days: 0, weeks: 0, months: 0, years: 0) 34 | } 35 | 36 | /** 37 | * A `TimeChunk` with its days component set to the value of self 38 | */ 39 | var days: TimeChunk { 40 | return TimeChunk(seconds: 0, minutes: 0, hours: 0, days: self, weeks: 0, months: 0, years: 0) 41 | } 42 | 43 | /** 44 | * A `TimeChunk` with its weeks component set to the value of self 45 | */ 46 | var weeks: TimeChunk { 47 | return TimeChunk(seconds: 0, minutes: 0, hours: 0, days: 0, weeks: self, months: 0, years: 0) 48 | } 49 | 50 | /** 51 | * A `TimeChunk` with its months component set to the value of self 52 | */ 53 | var months: TimeChunk { 54 | return TimeChunk(seconds: 0, minutes: 0, hours: 0, days: 0, weeks: 0, months: self, years: 0) 55 | } 56 | 57 | /** 58 | * A `TimeChunk` with its years component set to the value of self 59 | */ 60 | var years: TimeChunk { 61 | return TimeChunk(seconds: 0, minutes: 0, hours: 0, days: 0, weeks: 0, months: 0, years: self) 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // DateToolsExample 4 | // 5 | // Created by Grayson Webster on 10/21/16. 6 | // Copyright © 2016 Matt York. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/first.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "first.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/first.imageset/first.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/first.imageset/first.pdf -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/second.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "second.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/second.imageset/second.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MatthewYork/DateTools/5550567233ee106220c5bf138d2fe8e732c99e98/DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Assets.xcassets/second.imageset/second.pdf -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/ExtensionsViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FirstViewController.swift 3 | // DateToolsExample 4 | // 5 | // Created by Grayson Webster on 10/21/16. 6 | // Copyright © 2016 Matt York. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ExtensionsViewController: UIViewController { 12 | 13 | @IBOutlet weak var dateLabel: UILabel! 14 | @IBOutlet weak var secondsLabel: UILabel! 15 | @IBOutlet weak var minutesLabel: UILabel! 16 | @IBOutlet weak var hoursLabel: UILabel! 17 | @IBOutlet weak var daysLabel: UILabel! 18 | @IBOutlet weak var weeksLabel: UILabel! 19 | @IBOutlet weak var monthsLabel: UILabel! 20 | @IBOutlet weak var yearsLabel: UILabel! 21 | 22 | @IBOutlet weak var slider: UISlider! 23 | 24 | override func viewDidLoad() { 25 | super.viewDidLoad() 26 | // Do any additional setup after loading the view, typically from a nib.\ 27 | self.navigationController?.navigationBar.topItem?.title = "DateTools + Extensions" 28 | updateLabels() 29 | } 30 | 31 | override func didReceiveMemoryWarning() { 32 | super.didReceiveMemoryWarning() 33 | // Dispose of any resources that can be recreated. 34 | } 35 | 36 | @IBAction func sliderChanged(_ sender: AnyObject) { 37 | updateLabels() 38 | } 39 | 40 | func updateLabels() { 41 | let date = Date() + TimeInterval(1000000000 * slider.value) 42 | dateLabel.text = date.format(with: "MMMM d y") 43 | secondsLabel.text = String(date.secondsAgo) 44 | minutesLabel.text = String(date.minutesAgo) 45 | hoursLabel.text = String(date.hoursAgo) 46 | daysLabel.text = String(date.daysAgo) 47 | weeksLabel.text = String(date.weeksAgo) 48 | monthsLabel.text = String(date.monthsAgo) 49 | yearsLabel.text = String(date.yearsAgo) 50 | } 51 | 52 | } 53 | 54 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UIStatusBarTintParameters 32 | 33 | UINavigationBar 34 | 35 | Style 36 | UIBarStyleDefault 37 | Translucent 38 | 39 | 40 | 41 | UISupportedInterfaceOrientations 42 | 43 | UIInterfaceOrientationPortrait 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExampleTests/DateToolsExampleTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DateToolsExampleTests.swift 3 | // DateToolsExampleTests 4 | // 5 | // Created by Grayson Webster on 10/21/16. 6 | // Copyright © 2016 Matt York. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import DateToolsExample 11 | 12 | class DateToolsExampleTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExampleUITests/DateToolsExampleUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DateToolsExampleUITests.swift 3 | // DateToolsExampleUITests 4 | // 5 | // Created by Grayson Webster on 10/21/16. 6 | // Copyright © 2016 Matt York. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class DateToolsExampleUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /DateToolsSwift/Examples/DateToolsExample/DateToolsExampleUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 8/19/16. 6 | // Copyright © 2016 Matthew York. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | } 88 | ], 89 | "info" : { 90 | "version" : 1, 91 | "author" : "xcode" 92 | } 93 | } -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTests/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 8/19/16. 6 | // Copyright © 2016 Matthew York. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view, typically from a nib. 16 | let formatter = DateFormatter() 17 | formatter.dateFormat = "yyyy MM dd HH:mm:ss.SSS" 18 | let date = Date() 19 | print((date + 3.years).chunkBetween(date: Date())) 20 | } 21 | 22 | override func didReceiveMemoryWarning() { 23 | super.didReceiveMemoryWarning() 24 | // Dispose of any resources that can be recreated. 25 | 26 | } 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTestsTests/DateInitsExtensionTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DateDateToolsTests.swift 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 8/29/16. 6 | // Copyright © 2016 Matthew York. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import DateToolsTests 11 | 12 | class DateDateToolsTests: XCTestCase { 13 | 14 | var formatter = DateFormatter() 15 | var controlDate = Date() 16 | 17 | override func setUp() { 18 | super.setUp() 19 | self.formatter.dateFormat = "yyyy MM dd HH:mm:ss.SSS" 20 | controlDate = self.formatter.date(from: "2011 12 25 4:30:30.000")! 21 | } 22 | 23 | override func tearDown() { 24 | super.tearDown() 25 | } 26 | 27 | func testInitWithAll() { 28 | let testDate = Date(year: 2011, month: 12, day: 25, hour: 4, minute: 30, second: 30) 29 | XCTAssertTrue(testDate == controlDate) 30 | } 31 | 32 | func testInitWithYearMonthDay() { 33 | let testDate = Date(year: 2011, month: 12, day: 25) 34 | XCTAssertTrue(testDate.year == controlDate.year && testDate.month == controlDate.month && testDate.day == controlDate.day) 35 | } 36 | 37 | func testInitWithDatestringFormatTimezone() { 38 | let testDate = Date(dateString: "2011 12 25 4:30:30.000", format: "yyyy MM dd HH:mm:ss.SSS", timeZone: TimeZone(abbreviation: "CST")!) 39 | self.formatter.timeZone = TimeZone(abbreviation: "CST") 40 | controlDate = self.formatter.date(from: "2011 12 25 4:30:30.000")! 41 | XCTAssertTrue(testDate == controlDate) 42 | } 43 | 44 | func testInitWithDatestringFormat() { 45 | let testDate = Date(dateString: "2011 12 25 4:30:30.000", format: "yyyy MM dd HH:mm:ss.SSS") 46 | XCTAssertTrue(testDate == controlDate) 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTestsTests/DateTimeAgoExtensionTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DateTimeAgoTests.swift 3 | // DateToolsTests 4 | // 5 | // Created by Matthew York on 8/29/16. 6 | // Copyright © 2016 Matthew York. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import DateToolsTests 11 | 12 | class DateTimeAgoTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | } 17 | 18 | override func tearDown() { 19 | super.tearDown() 20 | } 21 | 22 | func testTimeAgo() { 23 | let testTimeAgo = Date().timeAgo(since: Date() - 60) 24 | XCTAssertTrue("A minute ago" == testTimeAgo) 25 | } 26 | 27 | func testShortTimeAgo() { 28 | let testTimeAgo = Date().shortTimeAgo(since: Date() - 4.minutes) 29 | XCTAssertTrue("4m" == testTimeAgo) 30 | } 31 | 32 | func testStaticTimeAgo() { 33 | let testTimeAgo = Date.timeAgo(since: Date() - 3) 34 | XCTAssertTrue("3 seconds ago" == testTimeAgo) 35 | } 36 | 37 | func testStaticShortTimeAgo() { 38 | let testTimeAgo = Date.shortTimeAgo(since: Date() - 3.hours) 39 | XCTAssertTrue("3h" == testTimeAgo) 40 | } 41 | 42 | func testTimeAgoSinceNow() { 43 | let testTimeAgo = Date().timeAgoSinceNow 44 | XCTAssertTrue("Just now" == testTimeAgo) 45 | } 46 | 47 | func testShortTimeAgoSinceNow() { 48 | let testTimeAgo = Date().shortTimeAgoSinceNow 49 | XCTAssertTrue("0s" == testTimeAgo) 50 | } 51 | 52 | func testEarlierDate() { 53 | let testTimeAgo = Date() 54 | XCTAssertTrue(testTimeAgo.earlierDate(testTimeAgo + 2.seconds) == testTimeAgo) 55 | XCTAssertTrue((testTimeAgo - 3.minutes).earlierDate(testTimeAgo) == testTimeAgo - 3.minutes) 56 | XCTAssertTrue(testTimeAgo.earlierDate(testTimeAgo) == testTimeAgo) 57 | } 58 | 59 | func testLaterDate() { 60 | let testTimeAgo = Date() 61 | XCTAssertTrue(testTimeAgo.laterDate(testTimeAgo + 2.seconds) == testTimeAgo + 2.seconds) 62 | XCTAssertTrue((testTimeAgo - 3.minutes).laterDate(testTimeAgo) == testTimeAgo) 63 | XCTAssertTrue(testTimeAgo.laterDate(testTimeAgo) == testTimeAgo) 64 | } 65 | 66 | 67 | 68 | } 69 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTestsTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /DateToolsSwift/Tests/DateToolsTests/DateToolsTestsTests/TimePeriodCollection.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TimePeriodCollection.swift 3 | // DateToolsTests 4 | // 5 | // Created by Grayson Webster on 8/19/16. 6 | // Copyright © 2016 Matthew York. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | -------------------------------------------------------------------------------- /DateToolsSwift/doc_gen.sh: -------------------------------------------------------------------------------- 1 | mkdir docs 2 | cd Tests/DateToolsTests 3 | jazzy -a Matthew\ York,\ Grayson\ Webster -u https://github.com/MatthewYork -g https://github.com/MatthewYork/DateTools -o ../../docs -------------------------------------------------------------------------------- /Examples/DateToolsExample/DateTools macOS/DateTools macOS.h: -------------------------------------------------------------------------------- 1 | // 2 | // DateTools macOS.h 3 | // DateTools macOS 4 | // 5 | // Created by Tom Baranes on 22/09/2016. 6 | // 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for DateTools macOS. 12 | FOUNDATION_EXPORT double DateTools_macOSVersionNumber; 13 | 14 | //! Project version string for DateTools macOS. 15 | FOUNDATION_EXPORT const unsigned char DateTools_macOSVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /Examples/DateToolsExample/DateTools macOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Matthew York 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.3 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | import PackageDescription 4 | 5 | let package = Package( 6 | name: "DateToolsSwift", 7 | defaultLocalization: "en", 8 | platforms: [ 9 | .iOS(.v12), 10 | .tvOS(.v12), 11 | .macOS(.v10_13), 12 | ], 13 | products: [ 14 | .library(name: "DateToolsSwift", targets: ["DateToolsSwift"]), 15 | .library(name: "DateToolsObjc", targets: ["DateToolsObjc"]) 16 | ], 17 | dependencies: [ 18 | ], 19 | targets: [ 20 | .target( 21 | name: "DateToolsSwift", 22 | path: "DateToolsSwift/DateTools", 23 | resources: [.copy("DateTools.bundle")], 24 | swiftSettings: [.define("SPM")] 25 | ), 26 | .target( 27 | name: "DateToolsObjc", 28 | path: "DateTools/DateTools", 29 | resources: [.copy("DateTools.bundle")], 30 | publicHeadersPath: ".", 31 | cSettings: [.define("SPM")] 32 | ) 33 | ] 34 | ) 35 | 36 | 37 | --------------------------------------------------------------------------------