-
Notifications
You must be signed in to change notification settings - Fork 1
Add 'fiscal_year' method, that returns the fiscal year, to Ruby Date, Time and DateTime classes.
License
champierre/fiscal_year
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
FiscalYear ========== Add 'fiscal_year' method, that returns the fiscal year, to Ruby Date, Time and DateTime classes. Example ======= % script/console Loading development environment (Rails 2.2.2) >> Date.new(2009, 3, 31).fiscal_year => 2008 >> Date.new(2009, 4, 1).fiscal_year => 2009 Copyright (c) 2009 Junya Ishihara, released under the MIT license
About
Add 'fiscal_year' method, that returns the fiscal year, to Ruby Date, Time and DateTime classes.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published