Use new LocalDate class in existing reccuring schedule calc.

Upgrade performance of existing reccuring schedule routine.

The current function uses NSDate and NSDateComponents. The converting uses too much time. Especially to compare just the date part of the NSDate, ignoring or normalising the time.

So we need a new class LocalDate to be used in this calculation.

Create an immutable LocalDate class with fields for year, month, day and methods to parse from/to "2012-05-16", and efficient plusDays(), plusMonths() and plusYears() methods that return a new LocalDate (off course normalised so that )

the plusXxx methods must allow a negative offset (plusdays(-7) is last week)

[[[LocalDate fromString:@"2012-05-28" ] plusDays:7] toString] would return "2012-06-04"

LocalDate must also have isEqualToLocalDate method, and toDate method that returns a NSDate and a static today method.

Compétences : Objective-C

en voir plus : week schedule, Calc, time class, date calculation, static calculation, date week year, use method, date function objective, parse schedule, immutable, time schedule, objective day, converting static, method calculation, existing date, objective course, class function create, calculation class, compare parse, schedule time, php datagrid class use mssql, paypal class use codeigniter, convert existing web application class library, ups freight class use, performance calculation

Concernant l'employeur :
( 30 commentaires ) Bruvik, Norway

Nº du projet : #1619772