Latest 1.0.1
Homepage https://github.com/quver/EpochConverter
License MIT
Platforms ios 8.0, osx 10.10, requires ARC
Authors

Build Status
Coverage Status
[GitHub license]()
Platform
Version

Instalation

pod 'EpochConverter', '~>1.0'

Using

Today case

Init with today date (eg. 1 Januar 2016 00:00:00)

EpochConverter *converter = [EpochConverter alloc] init];

Choosen day case

EpochConverter *converter = [EpochConverter alloc] initWithEpoch:1451602800];

Available properties

NSInteger baseEpoch;
NSInteger weekDay;
NSInteger firstWeekDay;
NSInteger lastWeekDay;

Available class methods

+ (NSInteger)firstWeekDayForEpoch:(NSInteger)epoch;
+ (NSInteger)lastWeekDayForEpoch:(NSInteger)epoch;
+ (NSInteger)weekDayForEpoch:(NSInteger)epoch;

Author

PaweĊ‚ Bednorz, Quver.xyz

License

EpochConverter is available under the MIT license. See the LICENSE file for more info

Latest podspec

{
    "name": "EpochConverter",
    "version": "1.0.1",
    "license": "MIT",
    "summary": "Epoch Converter for iOS and OSX",
    "homepage": "https://github.com/quver/EpochConverter",
    "authors": {
        "Pawel Bednorz": "[email protected]"
    },
    "social_media_url": "https://twitter.com/plquver",
    "source": {
        "git": "https://github.com/quver/EpochConverter.git",
        "tag": "1.0.1"
    },
    "public_header_files": "EpochConverter/EpochConverter.h",
    "source_files": "EpochConverter/EpochConverter.h",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This