GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATE::JAPANESE::HOLIDAY (3)

.ds Aq ’

NAME

Date::Japanese::Holiday - Calculate Japanese Holiday.

CONTENTS

SYNOPSIS



  # OO interface
  use Date::Japanese::Holiday;

  # it adds is_holiday also to Date::Simple namespace
  my $date = Date::Simple->new(2002, 2, 11);
  if ($date->is_holiday) {
       # blah, blah
  }

  # Date::Japanese::Holiday is-a Date::Simple
  if (Date::Japanese::Holiday->new(2002, 2, 11)->is_holiday) {
       # ...
  }

  # functional interface
  use Date::Japanese::Holiday qw(is_japanese_holiday);

  # return Date::Japanese::Holiday object or undef.
  if(is_japanese_holiday(2002, 11, 23)) {
      # ...
  }



DESCRIPTION

This module adds is_holiday method to Date::Simple, which calcualtes Japanese holiday. This module supports from 1948-04-20 to now.

Date::Japanese::Holiday itself is-a Date::Simple, so you can call this method also on Date::Japanese::Holiday object, if you like.

is_holiday method return true value when the day is Holiday.

AUTHOR

IKEBE Tomohiro <ikebe@edge.co.jp>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Date::Simple Date::Calc Time::JulianDay Date::Japanese::Era
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATE::JAPANESE::HOLIDAY (3) 2003-09-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.