SOZOJulianDateConverter 0.1.0

SOZOJulianDateConverter 0.1.0

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.

  • By
  • sozorogami

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


// 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,; // Logs 1436, 1, 25