Skip to content

Checks for valid date, or if birth date meets minimum age requirement.

License

Notifications You must be signed in to change notification settings

thalaeg/NLBirthDateValidator

 
 

Repository files navigation

NLBirthDateValidator

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

NLBirthDateValidator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NLBirthDateValidator"

Usage

To use, implement the following code.

let result = NLBirthDateValidator.checkBirthDate(13, month: 09, year: 1986, minimumAge: 16)

The result would either be .DateValid, .DateInvalid, or .AgeUnderMinimum.

Author

Kale, [email protected]

License

NLBirthDateValidator is available under the MIT license. See the LICENSE file for more info.

About

Checks for valid date, or if birth date meets minimum age requirement.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 74.1%
  • Ruby 25.9%