Latest 0.1.0
Homepage https://github.com/sozorogami/SOZOJulianDateConverter
License MIT
Platforms ios 5.0, osx 10.7, requires ARC
Authors

Build Status

Converts dates in the Julian calendar into NSDates for use in other calendrical systems.

Sample

// Convert Julian date January 25th, 1436 to an NSDate
NSDate *date = [SOZOJulianDateConverter dateFromJulianYear:1436 month:1 day:25];

// Represent an NSDate as a day on the Julian calendar
SOZOJulianDateComponents components = [SOZOJulianDateConverter componentsFromDate:date];
NSLog(@"%d, %d, %d", components.year, components.month, components.day); // Logs 1436, 1, 25

Latest podspec

{
    "name": "SOZOJulianDateConverter",
    "version": "0.1.0",
    "summary": "Converts dates in the Julian calendar into NSDates for use in other calendrical systems.",
    "homepage": "https://github.com/sozorogami/SOZOJulianDateConverter",
    "authors": {
        "sozorogami": ""
    },
    "license": {
        "type": "MIT"
    },
    "platforms": {
        "ios": "5.0",
        "osx": "10.7"
    },
    "source": {
        "git": "https://github.com/sozorogami/SOZOJulianDateConverter.git",
        "tag": "0.1.0"
    },
    "source_files": "SOZOJulianDateConverter/*.{h,m}",
    "public_header_files": "SOZOJulianDateConverter/SOZOJulianDateConverter.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This