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 50.014.421 Times

Rose::DateTime::Util 0.532

  Date Added: March 18, 2010  |  Visits: 909

Rose::DateTime::Util

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



Rose::DateTime::Util Perl module contains some simple DateTime wrapper functions. SYNOPSIS use Rose::DateTime::Util qw(:all); $now = parse_date(now); $then = parse_date(12/25/2001 11pm); print $now->day_of_week; # e.g., "Monday" # "December 25th 2001 at 11:00:00 PM" $date_text = format_date($then, "%B %E %Y at %t"); EXPORTS Rose::DateTime::Util does not export any function names by default. The all tag: use Rose::DateTime::Util qw(:all); will cause the following function names to be imported: format_date() parse_date() parse_epoch() parse_european_date() CLASS METHODS error Returns a message describing the last error that occurred. european_dates [BOOL] Get or set a boolean flag that determines how "xx/xx/xxxx" dates are parsed by the parse_date function. If set to a false-but-defined value, then such dates are parsed as "mm/dd/yyyy". If set to true, then theyre parsed as "dd/mm/yyyy". If set to undef, then the attribute resets to its initial value, which is determined as described below. The initial value of this attribute is chosen based on the current locale as stored in DateTimes DefaultLocale setting. This initial value is looked up only once. Any subsequent changes to DateTimes DefaultLocale setting will be ignored until/unless this attribute is reset to undef. time_zone [TZ] Get or set the default time zone. This value is passed to DateTime->new(...) as the value of the time_zone parameter when parse_date() creates the DateTime object that it returns. The default value is "floating"..

Requirements: No special requirements
Platforms: Linux
Keyword: Date Datetime Libraries Module Parse Perl Module Programming Rosedatetimeutil Simple Util Perl Value Wrapper
Users rating: 0/10

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


ROSE::DATETIME::UTIL RELATED
Libraries  -  Date::Formatter 0.09
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...
12.29 KB  
Libraries  -  DateTime::Locale 0.34
DateTime::Locale is a Perl module with localization support for DateTime.pm. SYNOPSIS use DateTime::Locale; my $loc = DateTime::Locale->load(en_GB); print $loc->native_locale_name, "n", $loc->long_datetime_format, "n"; # but mostly just...
102.4 KB  
Libraries  -  Log::StdLog 0.0.3
Log::StdLog is a Perl module with a simple log file via a special filehandle. SYNOPSIS use Log::StdLog { level => warn, file => "$0.log" }; # Messages at the same or a higher level are logged... print {*STDLOG} error => "This error message...
7.17 KB  
Libraries  -  FSA::Rules 0.26
FSA::Rules is a Perl module to build simple rules-based state machines in Perl. Synopsis my $fsa = FSA::Rules->new( ping => { do => sub { print "ping!n"; my $state = shift; $state->result(pong); $state->machine->{count}++; }, rules =>...
30.72 KB  
Libraries  -  MetaTrans::Languages 1.04
MetaTrans::Languages Perl module contains a simple "database" of most of the known languages. Extracted from MARC codes for languages, http://www.loc.gov/marc/languages/. SYNOPSIS use MetaTrans::Languages qw(get_lang_by_code get_code_by_lang);...
32.77 KB  
Libraries  -  XML::FOAFKnows::FromvCard 0.6
XML::FOAFKnows::FromvCard is a Perl module to create simple foaf:knows records from vCards. SYNOPSIS use XML::FOAFKnows::FromvCard; # read a vCard file into $data my $formatter = XML::FOAFKnows::FromvCard->format($data); print...
10.24 KB  
Libraries  -  DFA::Simple 0.32
DFA::Simple is a Perl module to implement simple Discrete Finite Automata. SYNOPSIS my $Obj = new DFA::Simple or my $Obj = new DFA::Simple $Transitions; or my $Obj = new DFA::Simple $Actions, $StateRules; $Obj->Actions = [...]; my...
11.26 KB  
Audio Tools  -  u24mixer-module 0.1.0
u24mixer-module is a simple kernel module that provides ALSA mixer controls for the ESI U24 USB sound card. Whats New in This Release: - All of the mixer controls found in the ESI U24 Windows control panel were implemented..
51.2 KB  
Libraries  -  PDL::IO::FITS 2.4.3
PDL::IO::FITS Perl module offers a simple FITS support for PDL. SYNOPSIS use PDL; use PDL::IO::FITS; $a = rfits(foo.fits); # read a FITS file $a->wfits(bar.fits); # write a FITS file This module provides basic FITS support for PDL, in...
2.1 MB  
Miscellaneous  -  Timeit module wrapper 1.3
This script containsĀ a simple, easy to use wrapper function for doing quick tests of your functions using the timeit module.The timeit module provides an easy way of testing the performance of your Python code by running it in many iterations and...
 
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