Annulé

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

Voir plus : week schedule, calc, date calculation, static calculation, date week year, use method, date function objective, immutable, time schedule, objective day, converting static, method calculation, existing date, objective course, schedule time, performance calculation, use existing joomla template, use oscommerce existing website, existing system use function, use existing webpage joomla, time calc

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

N° du projet : #1619772