Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.482.628 Times

Date::Formatter 0.09

  Date Added: January 12, 2010  |  Visits: 2.663

Date::Formatter

Report Broken Link
Printer Friendly Version


Product Homepage
Download (111 downloads)



Date::Formatter Perl module is a simple Date and Time formatting object. SYNOPSIS use Date::Formatter; # create a Date::Formatter object with the current date and time. my $date = Date::Formatter->now(); # create a formatter routine for this object # see formatter mini-language documentation below $date->createDateFormatter("(hh):(mm):(ss) (MM)/(DD)/(YYYY)"); print $date; # print date in this format -> 12:56:03 4/12/2004 # get the formatter for use with other objects my $formatter = $date->getDateFormatter(); # create an interval of time my $interval = Date::Formatter->createTimeInterval(years => 1, days => 2, minutes => 15); # re-use the formater from above $interval->setDateFormatter($formatter); print $interval; # print date in this format -> 12:56:03 4/12/2004 # use overloaded operators my $future_date = $date + $interval; # sort the dates (again with the overload operator) my @sorted_dates = sort { $a <=> $b } ($date, $interval, $future_date); This module provides a fast and very flexible mini-language to be used in formatting dates and times. In order to make that useful though, we had to make a fully functioning date & time object. This object looks and smells much like the Java and Javascript Date object on purpose. We also overloaded a number of operators to allow date addition and subtraction as well as comparisons..

Requirements: No special requirements
Platforms: Linux
Keyword: Date Date And Time Dateformatter Formatter Formatter Perl Interval Libraries Module Object Perl Module Programming Simple Date Simple Date And Time Time
Users rating: 0/10

License: Freeware Size: 12.29 KB
USER REVIEWS
More Reviews or Write Review


DATE::FORMATTER RELATED
Libraries  -  Template::Plugin::XML::Style 2.17
Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations. SYNOPSIS [% USE xmlstyle table = { attributes = { border = 0 cellpadding = 4 cellspacing = 1 } } %] [% FILTER xmlstyle %] <...
26.62 KB  
Libraries  -  XML::NamespaceSupport 1.09
XML::NamespaceSupport is Perl module a simple generic namespace support class. SYNOPSIS use XML::NamespaceSupport; my $nsup = XML::NamespaceSupport->new; # add a new empty context $nsup->push_context; # declare a few prefixes...
8.19 KB  
Code Management Tools  -  Jedi Code Format 2.3+
The Jedi Code Formatter is an Open-Source code formatter for the Borland Delphi Object-Pascal programming language. The formatter can standardize all aspects of Delphi Object Pascal and Delphi.NET source code formatting, including indentation,...
2.5 MB  
Libraries  -  XML::Namespace 0.02
XML::Namespace is a Perl module with simple support for XML Namespaces. SYNOPSIS Example 1: using XML::Namespace objects use XML::Namespace; my $xsd = XML::Namespace->new(http://www.w3.org/2001/XMLSchema#); # explicit access via the...
4.1 KB  
Libraries  -  Yahoo::Search::XML 1.7.10
Yahoo::Search::XML is a Perl module with simple routines for parsing XML from Yahoo! Search. The XML sent back from Yahoo! is fairly simple, and is guaranteed to be well formed, so we really dont need much more than to make the data easily...
35.84 KB  
Libraries  -  Class::XML 0.06
Class::XML is a Perl module for simple XML Abstraction. SYNOPSIS package Foo; use base qw/Class::XML/; __PACKAGE__->has_attributes(qw/length colour/); __PACKAGE__->has_child(bar => Bar); package Bar; use base qw/Class::XML/;...
18.43 KB  
Libraries  -  Archive::Tyd 0.02
Archive::Tyd is a Perl extension for simple file archiving. SYNOPSIS use Archive::Tyd; my $tyd = new Archive::Tyd (password => secret password); # Load an archive. $tyd->openArchive ("./archive.tyd"); # Add a file. $tyd->addFile...
8.19 KB  
Libraries  -  Timestamp::Simple 1.01
Timestamp::Simple is a Perl module with simple methods for timestamping. SYNOPSIS use Timestamp::Simple qw(stamp); print stamp, "n"; This module provides a simple method for returning a stamp to mark when an event occurs. METHODS...
10.24 KB  
Programming  -  skedario 0.4.1
Skedario is a perl/tk graphical tool / cgi perl script managing simple mysql databases of annotations (like in pocket notebooks). Annotations are categorized by various fields, searchable and linked.The idea is helping users to keep consistent...
31.94 KB  
Libraries  -  Authen::Simple::WebForm 0.02
Authen::Simple::WebForm - Perl library for simple authentication against existing web based forms using Authen::Simple framework.
9.2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB