|
Revision 3754, 0.6 kB
(checked in by walf443, 5 years ago)
|
|
lang/ruby/date_time-duration: misc changes for release v0.0.1 of rubyforge.
|
| Line | |
|---|
| 1 | |
|---|
| 2 | = date_time-duration |
|---|
| 3 | |
|---|
| 4 | == Synopsis |
|---|
| 5 | |
|---|
| 6 | require 'date_time' |
|---|
| 7 | dd = DateTime::Duration(DateTime.new(1984,12,26), DateTime.new(2007,12,27)) |
|---|
| 8 | dd.years # => 23 |
|---|
| 9 | |
|---|
| 10 | == Description |
|---|
| 11 | You can handle datetime duration easy. If you use date_time-smart, it's more easy to do it. |
|---|
| 12 | |
|---|
| 13 | == Installation |
|---|
| 14 | |
|---|
| 15 | === Archive Installation |
|---|
| 16 | |
|---|
| 17 | rake install |
|---|
| 18 | |
|---|
| 19 | === Gem Installation |
|---|
| 20 | |
|---|
| 21 | gem install date_time-duration |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | == Features/Problems |
|---|
| 25 | |
|---|
| 26 | This library does not care about leap seconds. |
|---|
| 27 | |
|---|
| 28 | == Copyright |
|---|
| 29 | |
|---|
| 30 | Author:: Keiji, Yoshimi <walf443 at gmail.com> |
|---|
| 31 | Copyright:: Copyright (c) 2007 Keiji, Yoshimi |
|---|
| 32 | License:: you can redistribute it and/or modify it under the same terms as Ruby itself. |
|---|