Latest 0.0.3
Homepage https://github.com/mako2x/JPHoliday
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
License
Platform
Carthage compatible

Swift library to deal with holidays in Japan.

Usage

JPHoliday.isHoliday(year: 2016, month: 8, day: 11)

for holiday in JPHoliday.holidays(year: 2015) {
  print(holiday.name)
}

Requirement

  • iOS 8.0 or later (by Carthage or Cocoapods) / iOS 7 (by manually)
  • Xcode 7.0 or later

Install

Carthage

Specify it in your Cartfile:

github "mako2x/JPHoliday"

Then, run the following command:

$ carthage update

Cocoapods

Specify it in your Podfile:

use_frameworks!

pod 'JPHoliday'

Then, run the following command:

$ pod install

Manually

$ git submodule add https://github.com/mako2x/JPHoliday.git <PATH_TO_SUBMODULE>

Then just add references of JPHoliday/JPHoliday.swift to your Xcode project.

Licence

MIT

Author

mako2x

Latest podspec

{
    "name": "JPHoliday",
    "version": "0.0.3",
    "summary": "Holidays in Japan.",
    "description": "JPHoliday is Swift library to deal with holidays in Japan.",
    "homepage": "https://github.com/mako2x/JPHoliday",
    "license": "MIT",
    "authors": {
        "mako2x": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mako2x/JPHoliday.git",
        "tag": "0.0.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "JPHoliday/*.swift"
}

Pin It on Pinterest

Share This