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

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

Serving Software Downloads in 976 Categories, Downloaded 29.548.544 Times

Regexp::Common::time 0.01

  Date Added: April 13, 2010  |  Visits: 779

Regexp::Common::time

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



Regexp::Common::time Perl module contains date and time regexps. SYNOPSIS use Regexp::Common qw(time); # Piecemeal, Time::Format-like patterns $RE{time}{tf}{-pat => pattern} # Piecemeal, strftime-like patterns $RE{time}{strftime}{-pat => pattern} # Match ISO8601-style date/time strings $RE{time}{iso} # Fuzzy date patterns # YEAR/MONTH/DAY $RE{time}{ymd} # Most flexible $RE{time}{YMD} # Strictest (equivalent to y4m2d2) # Other available patterns: y2md, y4md, y2m2d2, y4m2d2 # MONTH/DAY/YEAR (American style) $RE{time}{mdy} # Most flexible $RE{time}{MDY} # Strictest (equivalent to m2d2y4) # Other available patterns: mdy2, mdy4, m2d2y2, m2d2y4 # DAY/MONTH/YEAR (European style) $RE{time}{mdy} # Most flexible $RE{time}{MDY} # Strictest (equivalent to d2m2y4) # Other available patterns: dmy2, dmy4, d2m2y2, d2m2y4 # Fuzzy time pattern # HOUR/MINUTE/SECOND $RE{time}{hms} # H: matches 1 or 2 digits; 12 or 24 hours # M: matches 2 digits. # S: matches 2 digits; may be omitted # May be followed by "a", "am", "p.m.", etc. This module creates regular expressions that can be used for parsing dates and times. See Regexp::Common for a general description of how to use this interface. Parsing dates is a dirty business. Dates are generally specified in one of three possible orders: year/month/day, month/day/year, and day/month/year. Years can be specified with four digits or with two digits (with assumptions made about the century). Months can be specified as one digit, two digits, as a spelled-out name, or as a three-letter abbreviation. Day numbers can be one digit or two digits, with limits depending on the month (and, in the case of February, even the year). Also, different people use different punctuation for separating the various elements. A human can easily recognize that "October 21, 2005" and "21.10.05" refer to the same date, but its tricky to get a program to come to the same conclusion. This module attempts to make it possible to do so, with a minimum of difficulty. If you know the exact format of the data to be matched, use one of the specific, piecemeal pattern builders: tf or strftime. If there is some variability, use one of the fuzzy-matching patterns in the dmy, mdy, or ymd families. If the data are wildly variable, such as raw user input, give up and use the Date::Manip or Date::Parse module. Time values are generally much simpler to parse than date values. Only one fuzzy pattern is provided, and it should suffice for most needs..

Requirements: No special requirements
Platforms: Linux
Keyword: Date Date And Time Day Digits Libraries Mdy Module Month One Perl Module Programming Regexpcommontime Time Year
Users rating: 0/10

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


REGEXP::COMMON::TIME RELATED
Weather  -  TimeMe Tile 2.0.4.0
| Application Description TimeMe is a Windows live tile application which shows the current time, date, weather and optionally your current battery level all in one live tile, the app also contains a stopwatch, timer, world clock and...
2 MB  
Libraries  -  Scalar::Properties 0.12
Scalar::Properties is a Perl module package that contains run-time properties on scalar variables. SYNOPSIS use Scalar::Properties; my $val = 0->true; if ($val && $val == 0) { print "yup, its true alright...n"; } my @text = ( hello...
10.24 KB  
Libraries  -  Text::Reform 1.11
Text::Reform is a Perl module for manual text wrapping and reformatting. SYNOPSIS use Text::Reform; print form $template, $data, $to, $fill, $it, $with; use Text::Reform qw( tag ); print tag B, $enboldened_text; The form sub The...
20.48 KB  
Libraries  -  DBIx::Wrapper 0.24
DBIx::Wrapper library is a Perl module that serves as a wrapper around DBI, providing additional functionality and convenience methods. Whats New in This Release: - This release adds convenience methods for generating CSV, XML, and bencoded...
27.65 KB  
Libraries  -  XML::Smart::Tutorial 1.6.9
XML::Smart::Tutorial is a Perl module with tutorials and examples for XML::Smart. SYNOPSIS This document is a tutorial for XML::Smart and shows some examples of usual things..
50.18 KB  
Libraries  -  Pod::HTML_Elements 0.05
Pod::HTML_Elements is a Perl module to convert POD to tree of LWPs HTML::Element and hence HTML or PostScript. SYNOPSIS use Pod::HTML_Elements; my $parser = new Pod::HTML_Elements; $parser->parse_from_file($pod,foo.html); my $parser = new...
9.22 KB  
Libraries  -  GPS::Lowrance 0.31
GPS::Lowrance is a Perl module connect to Lowrance and Eagle GPS devices. REQUIREMENTS The following modules are required to use this module: Carp::Assert GPS::Lowrance::LSI 0.23 Parse::Binary::FixedFormat Win32::SerialPort or...
22.53 KB  
Libraries  -  HTML::Declare 2.1
HTML::Declare is a Perl module for When Template Systems Are Too Huge And Heredocs Too Messy. SYNOPSIS # Import all constructors use HTML::Declare :all; # A simple hello world print HTML { _ => [ HEAD { _ => TITLE { _ => Hello World! }...
19.46 KB  
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  
Form Processors  -  Automatic Date Formatting and Validation 1.1
This script, by using the onkeyup and onblur events handlers for the element, offers you a web form that will automatically format your dates and validate them at the same time.
81.92 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB