Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various speed ups, neatification, included Quick for test driven development, date component operators as opposed to time intervals and more #63

Merged
merged 11 commits into from
Oct 28, 2015

Conversation

Hout
Copy link
Contributor

@Hout Hout commented Oct 19, 2015

Hi, I separated each change in a separate commit. This might be a bit easier than the all-in-one pull request with conflicting merge.

Bear in mind that I added Quick and Nimble. I do not know how to declare the dependency in Cocoapods but I guess that you are more than capable to do this ;-)

Everything tests fine in the unit tests.

Removed one date class function of the two as it was trivial.
…ready have them!

Replaced with an ordinary nil check and assignment
Removed week references as they are not present in this set function and it confuses dateFromComponents
Put timeZone in calendar before converting to NSDate
Als included isSameDayAsDate.
Actually you want to remove the ignoreTime as I would use == for a full comparison
* FixDCCalc:
  Removed superfluous time interval int extension (whoops)
malcommac added a commit that referenced this pull request Oct 28, 2015
Various speed ups, neatification, included Quick for test driven development, date component operators as opposed to time intervals and more
@malcommac malcommac merged commit 1c02d54 into malcommac:master Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants