Name : perl-DateTime-Moonpig
| |
Version : 1.03
| Vendor : obs://build_opensuse_org/home:M0ses
|
Release : bp156.5.1
| Date : 2024-07-16 15:11:45
|
Group : Development/Libraries/Perl
| Source RPM : perl-DateTime-Moonpig-1.03-bp156.5.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Saner interface to C< DateTime>
|
Description :
\'Moonpig::DateTime\' is a thin wrapper around the DateTime module to fix problems with that module\'s design and interface. The main points are:
* Methods for mutating \'DateTime::Moonpig\' objects in place have been overridden to throw a fatal exception. These include \'add_duration\' and \'subtract_duration\', \'set_\'* methods such as \'set_hour\', and \'truncate\'.
* The addition and subtraction operators have been overridden.
Adding a \'DateTime::Moonpig\' to an integer _n_ returns a new \'DateTime::Moonpig\' equal to a time _n_ seconds later than the original. Similarly, subtracting _n_ returns a new \'DateTime::Moonpig\' equal to a time _n_ seconds earlier than the original.
Subtracting two \'DateTime::Moonpig\'s returns the number of seconds elapsed between them. It does not return an object of any kind.
* The \'new\' method can be called with a single argument, which is interpreted as a Unix epoch time, such as is returned by Perl\'s built-in \'time()\' function.
* A few convenient methods have been added
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/M0ses:/perl/15.6/noarch |