# businessday-jp [![MIT / Apache2.0 dual licensed](https://img.shields.io/badge/dual%20license-MIT%20/%20Apache%202.0-blue.svg)](./license-mit.md) [![crates.io](https://img.shields.io/crates/v/businessday_jp.svg)](https://crates.io/crates/businessday_jp) [![Document](https://img.shields.io/badge/businessday_jp-Document-3B5998.svg)](https://docs.rs/businessday_jp/0.1.1/businessday_jp/) ## dependencies ```toml [dependencies] businessday_jp = "0.1.1" ``` ## Usage ```rust extern crate businessday_jp; extern crate chrono; use businessday_jp::BusinessdayService; use chrono::{Local, TimeZone}; fn main() { let date = Local::now(); if HolidayService.is_businessday(date, 2) { println!("businessday"); } } ``` **BusinessdayService API** ```rust fn is_businessday(&self, date: DateTime, at_businseeday: u32) -> bool; fn get_businessday(&self, year: i32, month: u32, at_businessday: u32) -> DateTime; ``` ## License **This project is dual-licensed under MIT and Apache 2.0.**