Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WrightsCS/WCSDateRange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

WCSDateRange

Simple date range class. Simply provide a date range enum and the class will provide NSDate to/from, NSString date range. Accepts format enum as well to provide different date formats.

Example

Simple to use: assign a format and dateRange enum and grab the results using rangeString.

WCSDateRange * range = [WCSDateRange new];
range.format = WCSDateRangeFormatSimple;
range.dateRange = WCSDateRangeTypeMonth;
NSLog(@"Date Range String: %@", range.rangeString);
Output: Date Range String: 06/01/2018 - 06/30/2018

@WrightsCS

Twitter: @WrightsCS http://www.wrightscsapps.com

Apps using WCSDateRange

If you are using this in your app, please let me know and I will add your app here!

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /