tz
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 18
wmtz 0.7
wmtz displays the time in different time zones as defined in its configuration file. more>>
wmtz displays the time in different time zones as defined in its configuration file. wmtz can also display the current Julian Day Number, sidereal time and swatch beats.
Enhancements:
- Added option TZONE for time zone time with automatic compensation for daylight savings time. You have to give a correct TZ environment string in order for this to work (see: man tzset for a description of the TZ environment variable).
- Added a monochrome bitmap. Activate it with the -m command line option.
<<lessEnhancements:
- Added option TZONE for time zone time with automatic compensation for daylight savings time. You have to give a correct TZ environment string in order for this to work (see: man tzset for a description of the TZ environment variable).
- Added a monochrome bitmap. Activate it with the -m command line option.
Download (0.025MB)
Added: 2006-10-11 License: GPL (GNU General Public License) Price:
1109 downloads
DateTime::TimeZone::Tzfile 0.000
DateTime::TimeZone::Tzfile is a Perl module that contains tzfile (zoneinfo) timezone files. more>>
DateTime::TimeZone::Tzfile is a Perl module that contains tzfile (zoneinfo) timezone files.
SYNOPSIS
use DateTime::TimeZone::Tzfile;
$tz = DateTime::TimeZone::Tzfile->new("/etc/localtime");
if($tz->is_floating) { ...
if($tz->is_utc) { ...
if($tz->is_olson) { ...
$category = $tz->category;
$tz_string = $tz->name;
if($tz->has_dst_changes) { ...
if($tz->is_dst_for_datetime($dt)) { ...
$offset = $tz->offset_for_datetime($dt);
$abbrev = $tz->short_name_for_datetime($dt);
$offset = $tz->offset_for_local_datetime($dt);
An instance of this class represents a timezone that was encoded in a file in the tzfile(5) format. These can express arbitrary patterns of offsets from Universal Time, changing over time. Offsets and change times are limited to a resolution of one second.
This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects.
<<lessSYNOPSIS
use DateTime::TimeZone::Tzfile;
$tz = DateTime::TimeZone::Tzfile->new("/etc/localtime");
if($tz->is_floating) { ...
if($tz->is_utc) { ...
if($tz->is_olson) { ...
$category = $tz->category;
$tz_string = $tz->name;
if($tz->has_dst_changes) { ...
if($tz->is_dst_for_datetime($dt)) { ...
$offset = $tz->offset_for_datetime($dt);
$abbrev = $tz->short_name_for_datetime($dt);
$offset = $tz->offset_for_local_datetime($dt);
An instance of this class represents a timezone that was encoded in a file in the tzfile(5) format. These can express arbitrary patterns of offsets from Universal Time, changing over time. Offsets and change times are limited to a resolution of one second.
This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects.
Download (0.010MB)
Added: 2007-05-17 License: Perl Artistic License Price:
893 downloads
Time::Zone 1.16
Time::Zone is a miscellaneous timezone manipulations routines. more>>
Time::Zone is a miscellaneous timezone manipulations routines.
SYNOPSIS
use Time::Zone;
print tz2zone();
print tz2zone($ENV{TZ});
print tz2zone($ENV{TZ}, time());
print tz2zone($ENV{TZ}, undef, $isdst);
$offset = tz_local_offset();
$offset = tz_offset($TZ);
This is a collection of miscellaneous timezone manipulation routines.
tz2zone() parses the TZ environment variable and returns a timezone string suitable for inclusion in date-like output. It opionally takes a timezone string, a time, and a is-dst flag.
tz_local_offset() determins the offset from GMT time in seconds. It only does the calculation once.
tz_offset() determines the offset from GMT in seconds of a specified timezone.
tz_name() determines the name of the timezone based on its offset
<<lessSYNOPSIS
use Time::Zone;
print tz2zone();
print tz2zone($ENV{TZ});
print tz2zone($ENV{TZ}, time());
print tz2zone($ENV{TZ}, undef, $isdst);
$offset = tz_local_offset();
$offset = tz_offset($TZ);
This is a collection of miscellaneous timezone manipulation routines.
tz2zone() parses the TZ environment variable and returns a timezone string suitable for inclusion in date-like output. It opionally takes a timezone string, a time, and a is-dst flag.
tz_local_offset() determins the offset from GMT time in seconds. It only does the calculation once.
tz_offset() determines the offset from GMT in seconds of a specified timezone.
tz_name() determines the name of the timezone based on its offset
Download (0.022MB)
Added: 2006-06-29 License: Perl Artistic License Price:
1214 downloads
bzr 0.10 RC1
bzr is a simple distributed version control system. more>>
Bazaar-NG (or bzr) is a project of Canonical to develop an open source distributed version control system that is powerful, friendly, and scalable.
Version control means a system that keeps track of previous revisions of software source code or similar information and helps people work on it in teams.
bzr is still at a fairly early stage of development but has been self-hosting since March 2005 with no loss of data.
bzr is the next-generation distributed version control.
Main features:
- Written in Python (but nevertheless fast and easy to install.)
- Runs on Linux, Windows and Mac OS X, or any system with a Python interpreter. (Primarily tested on Ubuntu.)
- Free software, released under the GNU GPL.
- Designed to play well with others: can be called by IDEs, editors, web tools, GUIs, etc through either a Python API or a shell interface, and possibly a C interface in the future. Can support workflow/process tools built on top.
- The user interface is simple and familiar to people with experience from CVS or Subversion: add, mv, diff, status, commit, log, merge, etc all do what you would expect.
- Offers a choice between centralized and decentralized work within a single project: when in the office, you can work on a shared central branch. For experimental changes or offline work you can make a branch on your laptop and merge back in later.
- Preserves history; any previous revision can be recreated. History can be GPG-signed to protect against man-in-the-middle attacks, bad mirrors, server intrusion or data corruption.
- Just one .bzr directory at the top of the tree; it doesnt clutter the tree or get in your face. No wierd ++file--names--0.
- Tracks file and directory renames and merges across them.
- Powerful Python plugin system for adding new commands, protocols, formats, or site policy.
Enhancements:
- merge now takes --uncommitted, to apply uncommitted changes from a tree.
- Moderate performance improvements, particularly on large trees.
- Compatability with diffutils 2.8.4. bzr uncommit preserves pending merges.
- Active FTP support has been fixed.
- TZ=UTC is handled properly when reading/writing revisions.
- GPG_TTY is used to allow gpg --cl to work with gpg-agent in a pipeline (passing text to sign in on stdin).
- External diff does the right thing for binaries even in foreign languages.
<<lessVersion control means a system that keeps track of previous revisions of software source code or similar information and helps people work on it in teams.
bzr is still at a fairly early stage of development but has been self-hosting since March 2005 with no loss of data.
bzr is the next-generation distributed version control.
Main features:
- Written in Python (but nevertheless fast and easy to install.)
- Runs on Linux, Windows and Mac OS X, or any system with a Python interpreter. (Primarily tested on Ubuntu.)
- Free software, released under the GNU GPL.
- Designed to play well with others: can be called by IDEs, editors, web tools, GUIs, etc through either a Python API or a shell interface, and possibly a C interface in the future. Can support workflow/process tools built on top.
- The user interface is simple and familiar to people with experience from CVS or Subversion: add, mv, diff, status, commit, log, merge, etc all do what you would expect.
- Offers a choice between centralized and decentralized work within a single project: when in the office, you can work on a shared central branch. For experimental changes or offline work you can make a branch on your laptop and merge back in later.
- Preserves history; any previous revision can be recreated. History can be GPG-signed to protect against man-in-the-middle attacks, bad mirrors, server intrusion or data corruption.
- Just one .bzr directory at the top of the tree; it doesnt clutter the tree or get in your face. No wierd ++file--names--0.
- Tracks file and directory renames and merges across them.
- Powerful Python plugin system for adding new commands, protocols, formats, or site policy.
Enhancements:
- merge now takes --uncommitted, to apply uncommitted changes from a tree.
- Moderate performance improvements, particularly on large trees.
- Compatability with diffutils 2.8.4. bzr uncommit preserves pending merges.
- Active FTP support has been fixed.
- TZ=UTC is handled properly when reading/writing revisions.
- GPG_TTY is used to allow gpg --cl to work with gpg-agent in a pipeline (passing text to sign in on stdin).
- External diff does the right thing for binaries even in foreign languages.
Download (0.55MB)
Added: 2006-08-28 License: GPL (GNU General Public License) Price:
1153 downloads
DateTime::TimeZone::SystemV 0.000
DateTime::TimeZone::SystemV is a Perl module with System V and POSIX timezone strings. more>>
DateTime::TimeZone::SystemV is a Perl module with System V and POSIX timezone strings.
SYNOPSIS
use DateTime::TimeZone::SystemV;
$tz = DateTime::TimeZone::SystemV->new("EST5EDT");
if($tz->is_floating) { ...
if($tz->is_utc) { ...
if($tz->is_olson) { ...
$category = $tz->category;
$tz_string = $tz->name;
if($tz->has_dst_changes) { ...
if($tz->is_dst_for_datetime($dt)) { ...
$offset = $tz->offset_for_datetime($dt);
$abbrev = $tz->short_name_for_datetime($dt);
$offset = $tz->offset_for_local_datetime($dt);
An instance of this class represents a timezone that was specified by means of a System V timezone string or the POSIX extended form of the same syntax. These can express a plain offset from Universal Time, or a system of two offsets (standard and daylight saving time) switching on a yearly cycle according to certain types of rule.
This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects.
<<lessSYNOPSIS
use DateTime::TimeZone::SystemV;
$tz = DateTime::TimeZone::SystemV->new("EST5EDT");
if($tz->is_floating) { ...
if($tz->is_utc) { ...
if($tz->is_olson) { ...
$category = $tz->category;
$tz_string = $tz->name;
if($tz->has_dst_changes) { ...
if($tz->is_dst_for_datetime($dt)) { ...
$offset = $tz->offset_for_datetime($dt);
$abbrev = $tz->short_name_for_datetime($dt);
$offset = $tz->offset_for_local_datetime($dt);
An instance of this class represents a timezone that was specified by means of a System V timezone string or the POSIX extended form of the same syntax. These can express a plain offset from Universal Time, or a system of two offsets (standard and daylight saving time) switching on a yearly cycle according to certain types of rule.
This class implements the DateTime::TimeZone interface, so that its instances can be used with DateTime objects.
Download (0.008MB)
Added: 2007-05-17 License: Perl Artistic License Price:
891 downloads
Contacts 0.8.3
Contacts is a stand-alone address book application for the ROX Desktop. more>>
Contacts is a stand-alone address book application for the ROX Desktop. There is an extra package for users of other freedesktop.org compliant environments.
You can use Contacts to view and create vCard business cards. Contacts creates a vCard for every contact and stores it in a central directory in your home folder. A reasonable subset of rfc2426 has been implemented.
Main features:
Tabs
- There are two tabs, one for home, one for work related data.
Drag & Drop Loading
- You can load a vCard by dragging it onto Contacts.
- You can add a sound, photo or logo the same way. Contacts figures out by filetype which is which. Drag an image onto the "Home" tab if you want it to be added as a photo. To add a logo image, switch to the "Work" tab before dragging!
Searching
- Use the toolbar entry for searching contacts.
Extended Attributes
- Contacts saves the cards with extended attributes on Linux and Solaris, if supported by the filesystem:
- user.mime_type = text/directory
- user.creator = Contacts
My Card
- You can tell Contacts which card is yours: "Menu->My Card->This is my card"
- At any later time you can easily load your card by pressing "Alt-M" or from
- "Menu->My Card->Open my card"
PGP
- Contacts supports embedded public PGP keys.
- They can be exported from a vCard to a file, or directly imported into your keyring.
Live Toolbar
- The presence of NOTE, KEY, SOUND, PHOTO, LOGO, GEO/TZ properties is indicated by toolbar icon.
- Info about those properties is available through the icon tooltip. Click to edit!
- You add them in the first place via menu and short-cuts or dragn drop, respectively.
Birthday Notification
- Nearing birthdays are indicated by the color of a birthday cake in the toolbar:
- Next birthday more than a week away
- Next birthday within seven days
- Next birthday tomorrow
- There is a birthday today
- When there is no birthdate recorded for any of your contacts, no cake is shown.
<<lessYou can use Contacts to view and create vCard business cards. Contacts creates a vCard for every contact and stores it in a central directory in your home folder. A reasonable subset of rfc2426 has been implemented.
Main features:
Tabs
- There are two tabs, one for home, one for work related data.
Drag & Drop Loading
- You can load a vCard by dragging it onto Contacts.
- You can add a sound, photo or logo the same way. Contacts figures out by filetype which is which. Drag an image onto the "Home" tab if you want it to be added as a photo. To add a logo image, switch to the "Work" tab before dragging!
Searching
- Use the toolbar entry for searching contacts.
Extended Attributes
- Contacts saves the cards with extended attributes on Linux and Solaris, if supported by the filesystem:
- user.mime_type = text/directory
- user.creator = Contacts
My Card
- You can tell Contacts which card is yours: "Menu->My Card->This is my card"
- At any later time you can easily load your card by pressing "Alt-M" or from
- "Menu->My Card->Open my card"
PGP
- Contacts supports embedded public PGP keys.
- They can be exported from a vCard to a file, or directly imported into your keyring.
Live Toolbar
- The presence of NOTE, KEY, SOUND, PHOTO, LOGO, GEO/TZ properties is indicated by toolbar icon.
- Info about those properties is available through the icon tooltip. Click to edit!
- You add them in the first place via menu and short-cuts or dragn drop, respectively.
Birthday Notification
- Nearing birthdays are indicated by the color of a birthday cake in the toolbar:
- Next birthday more than a week away
- Next birthday within seven days
- Next birthday tomorrow
- There is a birthday today
- When there is no birthdate recorded for any of your contacts, no cake is shown.
Download (0.15MB)
Added: 2005-08-10 License: GPL (GNU General Public License) Price:
1536 downloads
Data::ICal::Entry::TimeZone 0.12
Data::ICal::Entry::TimeZone is a Perl module to represents a time zone definition in an iCalendar file. more>>
Data::ICal::Entry::TimeZone is a Perl module to represents a time zone definition in an iCalendar file.
SYNOPSIS
my $vtimezone = Data::ICal::Entry::TimeZone->new();
$vtimezone->add_properties(
tzid => "US-Eastern",
tzurl => "http://zones.stds_r_us.net/tz/US-Eastern"
);
$vtimezone->add_entry($daylight); # daylight/ standard not yet implemented
$vtimezone->add_entry($standard); # :-(
$calendar->add_entry($vtimezone);
A Data::ICal::Entry::TimeZone object represents the declaration of a time zone in an iCalendar file. (Note that the iCalendar RFC refers to entries as "components".) It is a subclass of Data::ICal::Entry and accepts all of its methods.
This module is not yet useful, because every time zone declaration needs to contain at least one STANDARD or DAYLIGHT component, and these have not yet been implemented.
<<lessSYNOPSIS
my $vtimezone = Data::ICal::Entry::TimeZone->new();
$vtimezone->add_properties(
tzid => "US-Eastern",
tzurl => "http://zones.stds_r_us.net/tz/US-Eastern"
);
$vtimezone->add_entry($daylight); # daylight/ standard not yet implemented
$vtimezone->add_entry($standard); # :-(
$calendar->add_entry($vtimezone);
A Data::ICal::Entry::TimeZone object represents the declaration of a time zone in an iCalendar file. (Note that the iCalendar RFC refers to entries as "components".) It is a subclass of Data::ICal::Entry and accepts all of its methods.
This module is not yet useful, because every time zone declaration needs to contain at least one STANDARD or DAYLIGHT component, and these have not yet been implemented.
Download (0.10MB)
Added: 2007-01-15 License: Perl Artistic License Price:
1013 downloads
Date::Manip 5.44
Date::Manip is a date manipulation routines. more>>
Date::Manip is a date manipulation routines.
SYNOPSIS
use Date::Manip;
$version = DateManipVersion;
$date = ParseDate(@args);
$date = ParseDate($string);
$date = ParseDate($string);
@date = UnixDate($date,@format);
$date = UnixDate($date,@format);
$delta = ParseDateDelta(@args);
$delta = ParseDateDelta($string);
$delta = ParseDateDelta($string);
@str = Delta_Format($delta,$dec,@format);
$str = Delta_Format($delta,$dec,@format);
$recur = ParseRecur($string,$base,$date0,$date1,$flags);
@dates = ParseRecur($string,$base,$date0,$date1,$flags);
$flag = Date_Cmp($date1,$date2);
$d = DateCalc($d1,$d2 [,$errref] [,$del]);
$date = Date_SetTime($date,$hr,$min,$sec);
$date = Date_SetTime($date,$time);
$date = Date_SetDateField($date,$field,$val [,$nocheck]);
$date = Date_GetPrev($date,$dow,$today,$hr,$min,$sec);
$date = Date_GetPrev($date,$dow,$today,$time);
$date = Date_GetNext($date,$dow,$today,$hr,$min,$sec);
$date = Date_GetNext($date,$dow,$today,$time);
$name = Date_IsHoliday($date);
$listref = Events_List($date);
$listref = Events_List($date0,$date1);
$date = Date_ConvTZ($date);
$date = Date_ConvTZ($date,$from);
$date = Date_ConvTZ($date,"",$to);
$date = Date_ConvTZ($date,$from,$to);
$flag = Date_IsWorkDay($date [,$flag]);
$date = Date_NextWorkDay($date,$off [,$time]);
$date = Date_PrevWorkDay($date,$off [,$time]);
$date = Date_NearestWorkDay($date [,$tomorrowfirst]);
&Date_Init();
&Date_Init("VAR=VAL","VAR=VAL",...);
@list = Date_Init();
@list = Date_Init("VAR=VAL","VAR=VAL",...);
The above routines all check to make sure that Date_Init is called. If it hasnt been, they will call it automatically. As a result, there is usually no need to call Date_Init explicitely unless you want to change some of the config variables (described below). They also do error checking on the input.
The routines listed below are intended primarily for internal use by other Date::Manip routines. They do little or no error checking, and do not explicitely call Date_Init. Those functions are all done in the main Date::Manip routines above.
Because they are significantly faster than the full Date::Manip routines, they are available for use with a few caveats. Since little or no error checking is done, it is the responsibility of the programmer to ensure that valid data (AND valid dates) are passed to them. Passing invalid data (such as a non-numeric month) or invalid dates (Feb 31) will fail in unpredictable ways (possibly returning erroneous results). Also, since Date_Init is not called by these, it must be called explicitely by the programmer before using these routines.
In the following routines, $y may be entered as either a 2 or 4 digit year (it will be converted to a 4 digit year based on the variable YYtoYYYY described below). Month and day should be numeric in all cases. Most (if not all) of the information below can be gotten from UnixDate which is really the way I intended it to be gotten, but there are reasons to use these (these are significantly faster).
$day = Date_DayOfWeek($m,$d,$y);
$secs = Date_SecsSince1970($m,$d,$y,$h,$mn,$s);
$secs = Date_SecsSince1970GMT($m,$d,$y,$h,$mn,$s);
$days = Date_DaysSince1BC($m,$d,$y);
$day = Date_DayOfYear($m,$d,$y);
($y,$m,$d,$h,$mn,$s) = Date_NthDayOfYear($y,$n);
$days = Date_DaysInYear($y);
$days = Date_DaysInMonth($m,$y);
$wkno = Date_WeekOfYear($m,$d,$y,$first);
$flag = Date_LeapYear($y);
$day = Date_DaySuffix($d);
$tz = Date_TimeZone();
<<lessSYNOPSIS
use Date::Manip;
$version = DateManipVersion;
$date = ParseDate(@args);
$date = ParseDate($string);
$date = ParseDate($string);
@date = UnixDate($date,@format);
$date = UnixDate($date,@format);
$delta = ParseDateDelta(@args);
$delta = ParseDateDelta($string);
$delta = ParseDateDelta($string);
@str = Delta_Format($delta,$dec,@format);
$str = Delta_Format($delta,$dec,@format);
$recur = ParseRecur($string,$base,$date0,$date1,$flags);
@dates = ParseRecur($string,$base,$date0,$date1,$flags);
$flag = Date_Cmp($date1,$date2);
$d = DateCalc($d1,$d2 [,$errref] [,$del]);
$date = Date_SetTime($date,$hr,$min,$sec);
$date = Date_SetTime($date,$time);
$date = Date_SetDateField($date,$field,$val [,$nocheck]);
$date = Date_GetPrev($date,$dow,$today,$hr,$min,$sec);
$date = Date_GetPrev($date,$dow,$today,$time);
$date = Date_GetNext($date,$dow,$today,$hr,$min,$sec);
$date = Date_GetNext($date,$dow,$today,$time);
$name = Date_IsHoliday($date);
$listref = Events_List($date);
$listref = Events_List($date0,$date1);
$date = Date_ConvTZ($date);
$date = Date_ConvTZ($date,$from);
$date = Date_ConvTZ($date,"",$to);
$date = Date_ConvTZ($date,$from,$to);
$flag = Date_IsWorkDay($date [,$flag]);
$date = Date_NextWorkDay($date,$off [,$time]);
$date = Date_PrevWorkDay($date,$off [,$time]);
$date = Date_NearestWorkDay($date [,$tomorrowfirst]);
&Date_Init();
&Date_Init("VAR=VAL","VAR=VAL",...);
@list = Date_Init();
@list = Date_Init("VAR=VAL","VAR=VAL",...);
The above routines all check to make sure that Date_Init is called. If it hasnt been, they will call it automatically. As a result, there is usually no need to call Date_Init explicitely unless you want to change some of the config variables (described below). They also do error checking on the input.
The routines listed below are intended primarily for internal use by other Date::Manip routines. They do little or no error checking, and do not explicitely call Date_Init. Those functions are all done in the main Date::Manip routines above.
Because they are significantly faster than the full Date::Manip routines, they are available for use with a few caveats. Since little or no error checking is done, it is the responsibility of the programmer to ensure that valid data (AND valid dates) are passed to them. Passing invalid data (such as a non-numeric month) or invalid dates (Feb 31) will fail in unpredictable ways (possibly returning erroneous results). Also, since Date_Init is not called by these, it must be called explicitely by the programmer before using these routines.
In the following routines, $y may be entered as either a 2 or 4 digit year (it will be converted to a 4 digit year based on the variable YYtoYYYY described below). Month and day should be numeric in all cases. Most (if not all) of the information below can be gotten from UnixDate which is really the way I intended it to be gotten, but there are reasons to use these (these are significantly faster).
$day = Date_DayOfWeek($m,$d,$y);
$secs = Date_SecsSince1970($m,$d,$y,$h,$mn,$s);
$secs = Date_SecsSince1970GMT($m,$d,$y,$h,$mn,$s);
$days = Date_DaysSince1BC($m,$d,$y);
$day = Date_DayOfYear($m,$d,$y);
($y,$m,$d,$h,$mn,$s) = Date_NthDayOfYear($y,$n);
$days = Date_DaysInYear($y);
$days = Date_DaysInMonth($m,$y);
$wkno = Date_WeekOfYear($m,$d,$y,$first);
$flag = Date_LeapYear($y);
$day = Date_DaySuffix($d);
$tz = Date_TimeZone();
Download (0.14MB)
Added: 2006-06-14 License: Perl Artistic License Price:
1240 downloads
LaBrea::Tarpit 1.33
LaBrea::Tarpit Perl module contains utilities and web displays for Tom Listons LaBrea scanner/worm disruptor. more>>
LaBrea::Tarpit Perl module contains utilities and web displays for Tom Listons LaBrea scanner/worm disruptor.
SYNOPSIS
use LaBrea::Tarpit qw( [exportable functions] );
or
require LaBrea::Tarpit;
daemon(%hash or %hash);
$bandwidth = bandwidth(%tarpit);
$midnight = midnight($epoch_time,$tz);
$timezone = timezone($now);
$sec = $tz2_sec($tz);
$time_string = their_date($gmtime,$tz);
$rv = restore_tarpit(%tarpit,path2cache_file);
$rv = log2_mem(%tarpit,log_line,is_daemon,port_intvls,DShield);
$rv = process_log(%tarpit,path2log_file,is_daemon,port_intvls);
$rv = cull_threads(%tarpit,timeout,scanners,port_intvls,DShield);
$rv = write_cache_file(%tarpit,path2cache_file,umask,flag);
prep_report(%tarpit,%hash);
$rv = find_old_threads(%tarpit,%report,$age);
<<lessSYNOPSIS
use LaBrea::Tarpit qw( [exportable functions] );
or
require LaBrea::Tarpit;
daemon(%hash or %hash);
$bandwidth = bandwidth(%tarpit);
$midnight = midnight($epoch_time,$tz);
$timezone = timezone($now);
$sec = $tz2_sec($tz);
$time_string = their_date($gmtime,$tz);
$rv = restore_tarpit(%tarpit,path2cache_file);
$rv = log2_mem(%tarpit,log_line,is_daemon,port_intvls,DShield);
$rv = process_log(%tarpit,path2log_file,is_daemon,port_intvls);
$rv = cull_threads(%tarpit,timeout,scanners,port_intvls,DShield);
$rv = write_cache_file(%tarpit,path2cache_file,umask,flag);
prep_report(%tarpit,%hash);
$rv = find_old_threads(%tarpit,%report,$age);
Download (0.23MB)
Added: 2007-07-12 License: Perl Artistic License Price:
836 downloads
Time::Format 1.02
Time::Format is a Perl module for easy-to-use date/time formatting. more>>
Time::Format is a Perl module for easy-to-use date/time formatting.
SYNOPSIS
use Time::Format qw(%time %strftime %manip);
$time{$format}
$time{$format, $unixtime}
print "Today is $time{yyyy/mm/dd}n";
print "Yesterday was $time{yyyy/mm/dd, time-24*60*60}n";
print "The time is $time{hh:mm:ss}n";
print "Another time is $time{H:mm am tz, $another_time}n";
print "Timestamp: $time{yyyymmdd.hhmmss.mmm}n";
%time also accepts Date::Manip strings and DateTime objects:
$dm = Date::Manip::ParseDate(last monday);
print "Last monday was $time{Month d, yyyy, $dm}";
$dt = DateTime->new (....);
print "Heres another date: $time{m/d/yy, $dt}";
It also accepts most ISO-8601 date/time strings:
$t = 2005/10/31T17:11:09; # date separator: / or - or .
$t = 2005-10-31 17.11.09; # in-between separator: T or _ or space
$t = 20051031_171109; # time separator: : or .
$t = 20051031171109; # separators may be omitted
$t = 2005/10/31; # date-only is okay
$t = 17:11:09; # time-only is okay
# But not:
$t = 20051031; # date-only without separators
$t = 171109; # time-only without separators
# ...because those look like epoch time numbers.
%strftime works like POSIXs strftime, if you like those %-formats.
$strftime{$format}
$strftime{$format, $unixtime}
$strftime{$format, $sec,$min,$hour, $mday,$mon,$year, $wday,$yday,$isdst}
print "POSIXish: $strftime{%A, %B %d, %Y, 0,0,0,12,11,95,2}n";
print "POSIXish: $strftime{%A, %B %d, %Y, 1054866251}n";
print "POSIXish: $strftime{%A, %B %d, %Y}n"; # current time
%manip works like Date::Manips UnixDate function.
$manip{$format};
$manip{$format, $when};
print "Date::Manip: $manip{%m/%d/%Y}n"; # current time
print "Date::Manip: $manip{%m/%d/%Y,last Tuesday}n";
These can also be used as standalone functions:
use Time::Format qw(time_format time_strftime time_manip);
print "Today is ", time_format(yyyy/mm/dd, $some_time), "n";
print "POSIXish: ", time_strftime(%A %B %d, %Y,$some_time), "n";
print "Date::Manip: ", time_manip(%m/%d/%Y,$some_time), "n";
This module creates global pseudovariables which format dates and times, according to formatting codes you pass to them in strings.
The %time formatting codes are designed to be easy to remember and use, and to take up just as many characters as the output time value whenever possible. For example, the four-digit year code is "yyyy", the three-letter month abbreviation is "Mon".
The nice thing about having a variable-like interface instead of function calls is that the values can be used inside of strings (as well as outside of strings in ordinary expressions). Dates are frequently used within strings (log messages, output, data records, etc.), so having the ability to interpolate them directly is handy.
Perl allows arbitrary expressions within curly braces of a hash, even when that hash is being interpolated into a string. This allows you to do computations on the fly while formatting times and inserting them into strings. See the "yesterday" example above.
The format strings are designed with programmers in mind. What do you need most frequently? 4-digit year, month, day, 24-based hour, minute, second -- usually with leading zeroes. These six are the easiest formats to use and remember in Time::Format: yyyy, mm, dd, hh, mm, ss. Variants on these formats follow a simple and consistent formula. This module is for everyone who is weary of trying to remember strftime(3)s arcane codes, or of endlessly writing $t[4]++; $t[5]+=1900 as you manually format times or dates.
Note that mm (and related codes) are used both for months and minutes. This is a feature. %time resolves the ambiguity by examining other nearby formatting codes. If its in the context of a year or a day, "month" is assumed. If in the context of an hour or a second, "minute" is assumed.
The format strings are not meant to encompass every date/time need ever conceived. But how often do you need the day of the year (strftimes %j) or the week number (strftimes %W)?
For capabilities that %time does not provide, %strftime provides an interface to POSIXs strftime, and %manip provides an interface to the Date::Manip modules UnixDate function.
If the companion module Time::Format_XS is also installed, Time::Format will detect and use it. This will result in a significant speed increase for %time and time_format.
<<lessSYNOPSIS
use Time::Format qw(%time %strftime %manip);
$time{$format}
$time{$format, $unixtime}
print "Today is $time{yyyy/mm/dd}n";
print "Yesterday was $time{yyyy/mm/dd, time-24*60*60}n";
print "The time is $time{hh:mm:ss}n";
print "Another time is $time{H:mm am tz, $another_time}n";
print "Timestamp: $time{yyyymmdd.hhmmss.mmm}n";
%time also accepts Date::Manip strings and DateTime objects:
$dm = Date::Manip::ParseDate(last monday);
print "Last monday was $time{Month d, yyyy, $dm}";
$dt = DateTime->new (....);
print "Heres another date: $time{m/d/yy, $dt}";
It also accepts most ISO-8601 date/time strings:
$t = 2005/10/31T17:11:09; # date separator: / or - or .
$t = 2005-10-31 17.11.09; # in-between separator: T or _ or space
$t = 20051031_171109; # time separator: : or .
$t = 20051031171109; # separators may be omitted
$t = 2005/10/31; # date-only is okay
$t = 17:11:09; # time-only is okay
# But not:
$t = 20051031; # date-only without separators
$t = 171109; # time-only without separators
# ...because those look like epoch time numbers.
%strftime works like POSIXs strftime, if you like those %-formats.
$strftime{$format}
$strftime{$format, $unixtime}
$strftime{$format, $sec,$min,$hour, $mday,$mon,$year, $wday,$yday,$isdst}
print "POSIXish: $strftime{%A, %B %d, %Y, 0,0,0,12,11,95,2}n";
print "POSIXish: $strftime{%A, %B %d, %Y, 1054866251}n";
print "POSIXish: $strftime{%A, %B %d, %Y}n"; # current time
%manip works like Date::Manips UnixDate function.
$manip{$format};
$manip{$format, $when};
print "Date::Manip: $manip{%m/%d/%Y}n"; # current time
print "Date::Manip: $manip{%m/%d/%Y,last Tuesday}n";
These can also be used as standalone functions:
use Time::Format qw(time_format time_strftime time_manip);
print "Today is ", time_format(yyyy/mm/dd, $some_time), "n";
print "POSIXish: ", time_strftime(%A %B %d, %Y,$some_time), "n";
print "Date::Manip: ", time_manip(%m/%d/%Y,$some_time), "n";
This module creates global pseudovariables which format dates and times, according to formatting codes you pass to them in strings.
The %time formatting codes are designed to be easy to remember and use, and to take up just as many characters as the output time value whenever possible. For example, the four-digit year code is "yyyy", the three-letter month abbreviation is "Mon".
The nice thing about having a variable-like interface instead of function calls is that the values can be used inside of strings (as well as outside of strings in ordinary expressions). Dates are frequently used within strings (log messages, output, data records, etc.), so having the ability to interpolate them directly is handy.
Perl allows arbitrary expressions within curly braces of a hash, even when that hash is being interpolated into a string. This allows you to do computations on the fly while formatting times and inserting them into strings. See the "yesterday" example above.
The format strings are designed with programmers in mind. What do you need most frequently? 4-digit year, month, day, 24-based hour, minute, second -- usually with leading zeroes. These six are the easiest formats to use and remember in Time::Format: yyyy, mm, dd, hh, mm, ss. Variants on these formats follow a simple and consistent formula. This module is for everyone who is weary of trying to remember strftime(3)s arcane codes, or of endlessly writing $t[4]++; $t[5]+=1900 as you manually format times or dates.
Note that mm (and related codes) are used both for months and minutes. This is a feature. %time resolves the ambiguity by examining other nearby formatting codes. If its in the context of a year or a day, "month" is assumed. If in the context of an hour or a second, "minute" is assumed.
The format strings are not meant to encompass every date/time need ever conceived. But how often do you need the day of the year (strftimes %j) or the week number (strftimes %W)?
For capabilities that %time does not provide, %strftime provides an interface to POSIXs strftime, and %manip provides an interface to the Date::Manip modules UnixDate function.
If the companion module Time::Format_XS is also installed, Time::Format will detect and use it. This will result in a significant speed increase for %time and time_format.
Download (0.038MB)
Added: 2007-07-19 License: Perl Artistic License Price:
830 downloads
App::datetime 0.964
App::datetime is a date and time considerations. more>>
App::datetime is a date and time considerations.
Most Enterprise development includes processing of dates and times. There are many date and time modules on CPAN, and choosing the right one can be confusing. There are no special perl data types for dates and times, so some direction is needed.
The short answer is that we recommend the following for most common date and time operations.
Class::Date
Class::Date::Rel
However, other modules are appropriate in certain circumstances. So for the longer answer, read on.
PERL 5 LANGUAGE SUPPORT
The native Perl 5 datetime type is an integer. It is not different from other integers in any way other than how it is used. It represents the number of non-leap seconds since January 1, 1970 UTC (the "Epoch" at GMT). The following internal Perl function gets the current time.
$current_time = time;
$current_time = time();
Other Perl functions that return this "datetime" integer are
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = stat($filename);
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = lstat($filename);
where $atime, $mtime, and $ctime are the same kind of integers, representing the access time, modification time, and change time of a file.
These $time values may be converted to human-readable form using the following internal perl functions. (See the "perlfunc" man page for more information.)
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($time);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time);
Furthermore, the current time zone needs to be accessed through the environment variable, "TZ".
$timezone = $ENV{TZ};
This leaves the Perl developer with lots of work to do in order to process dates.
Formatting dates for output
Parsing dates on input
Comparing dates
Date math (addition, subtraction)
Other calendar-specific functions (i.e. holidays, days of week, etc)
Numerous modules have been posted to CPAN allowing the Perl developer to accomplish these tasks. However, they have pros and cons related to the following features.
Internationalization
Speed
Portability
Ranges of Dates Supported
Compliance with Perl Styleguide (function naming)
<<lessMost Enterprise development includes processing of dates and times. There are many date and time modules on CPAN, and choosing the right one can be confusing. There are no special perl data types for dates and times, so some direction is needed.
The short answer is that we recommend the following for most common date and time operations.
Class::Date
Class::Date::Rel
However, other modules are appropriate in certain circumstances. So for the longer answer, read on.
PERL 5 LANGUAGE SUPPORT
The native Perl 5 datetime type is an integer. It is not different from other integers in any way other than how it is used. It represents the number of non-leap seconds since January 1, 1970 UTC (the "Epoch" at GMT). The following internal Perl function gets the current time.
$current_time = time;
$current_time = time();
Other Perl functions that return this "datetime" integer are
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = stat($filename);
($dev, $ino, $mode, $nlink, $uid, $gid, $redev, $size,
$atime, $mtime, $ctime, $blksize, $blocks) = lstat($filename);
where $atime, $mtime, and $ctime are the same kind of integers, representing the access time, modification time, and change time of a file.
These $time values may be converted to human-readable form using the following internal perl functions. (See the "perlfunc" man page for more information.)
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime($time);
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($time);
Furthermore, the current time zone needs to be accessed through the environment variable, "TZ".
$timezone = $ENV{TZ};
This leaves the Perl developer with lots of work to do in order to process dates.
Formatting dates for output
Parsing dates on input
Comparing dates
Date math (addition, subtraction)
Other calendar-specific functions (i.e. holidays, days of week, etc)
Numerous modules have been posted to CPAN allowing the Perl developer to accomplish these tasks. However, they have pros and cons related to the following features.
Internationalization
Speed
Portability
Ranges of Dates Supported
Compliance with Perl Styleguide (function naming)
Download (0.12MB)
Added: 2006-10-17 License: Perl Artistic License Price:
1102 downloads
PeaZip For Linux 2.2
Free archiver utility, open 7Z, ACE, PAQ, TAR, RAR, ZIP, encrypt and split files more>> PeaZip is an open source file and archive manager for 32 and 64 bit Windows (9x, 2000, XP, Vista) and Linux.
For both platforms it is available as installable or portable package, not needing installation.
Full support: 7Z, 7Z-sfx, ARC/WRC, BZ2/TBZ2, GZ/TGZ, PAQ/LPAQ, PEA, QUAD/BALZ, split, TAR, UPX, ZIP.
Open, browse, extract, test: ACE, ARJ, CAB, CHM, COMPOUND (MSI, DOC, XLS, PPT), CPIO, ISO, Java (JAR, EAR, WAR), Linux (DEB, PET/PUP, RPM, SLP), LHA/LZH, LZMA, NSIS, OOo, PAK/PK3/PK4, RAR, SMZIP, U3P, WIM, XPI, Z/TZ (71 file extension supported).
Other features: powerful search and filter functions, robust file copy, split/join files, quick or secure file deletion, compare/checksum/hash files, system benchmark, generate random passwords and keyfiles, two factor authentication, strong encryption (AES256).
PeaZip allows to: create/extract multiple archives at once, save archives layout, save job definition as command line (to be inspected, or used in scripts), save job logs.
The user interface is skinnable for colors, transparence and icons.<<less
Download (3.24MB)
Added: 2009-04-22 License: Freeware Price: free
185 downloads
Other version of PeaZip For Linux
), LHA/LZH, LZMA, NSIS, OOo, PAK/PK3/PK4, RAR, SMZIP, U3P, WIM, XPI, Z/TZ. Other features: robust file copy, split/join files, quick or secure file deletion, byte to byte compare files, checksumLicense:Freeware
Rose::DateTime::Util 0.532
Rose::DateTime::Util Perl module contains some simple DateTime wrapper functions. more>>
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".
<<lessSYNOPSIS
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".
Download (0.012MB)
Added: 2007-07-24 License: Perl Artistic License Price:
822 downloads
WWW::Google::SiteMap::URL 1.09
WWW::Google::SiteMap::URL is URL Helper class for WWW::Google::SiteMap. more>>
WWW::Google::SiteMap::URL is URL Helper class for WWW::Google::SiteMap.
This is a helper class that supports WWW::Google::SiteMap and WWW::Google::SiteMap::Index.
METHODS
new()
loc()
Change the URL associated with this object. For a WWW::Google::SiteMap this specifies the URL to add to the sitemap, for a WWW::Google::SiteMap::Index, this is the URL to the sitemap.
changefreq()
Set the change frequency of the object. This field is not used in sitemap indexes, only in sitemaps.
lastmod()
Set the last modified time. You have to provide this as one of the following:
a complete ISO8601 time string
A complete time string will be accepted in exactly this format:
YYYY-MM-DDTHH:MM:SS+TZ:TZ
YYYY - 4-digit year
MM - 2-digit month (zero padded)
DD - 2-digit year (zero padded)
T - literal character T
HH - 2-digit hour (24-hour, zero padded)
SS - 2-digit second (zero padded)
+TZ:TZ - Timezone offset (hours and minutes from GMT, 2-digit, zero padded)
epoch time
Seconds since the epoch, such as would be returned from time(). If you provide an epoch time, then an appropriate ISO8601 time will be constructed with gmtime() (which means the timezone offset will be +00:00). If anyone knows of a way to determine the timezone offset of the current host that is cross-platform and doesnt add dozens of dependencies then I might change this.
an ISO8601 date (YYYY-MM-DD)
A simple date in YYYY-MM-DD format. The time will be set to 00:00:00+00:00.
a DateTime object.
If a DateTime object is provided, then an appropriate timestamp will be constructed from it.
a HTTP::Response object.
If given an HTTP::Response object, the last modified time will be calculated from whatever time information is available in the response headers. Currently this means either the Last-Modified header, or tue current time - the current_age() calculated by the response object. This is useful for building web crawlers.
Note that in order to conserve memory, any of these items that you provide will be converted to a complete ISO8601 time string when they are stored. This means that if you pass an object to lastmod(), you cant get it back out. If anyone actually has a need to get the objects back out, then I might make a configuration option to store the objects internally.
If you have suggestions for other types of date/time objects or formats that would be usefule, let me know and Ill consider them.
priority()
Set the priority. This field is not used in sitemap indexes, only in sitemaps.
delete()
Delete this object from the sitemap or the sitemap index.
lenient()
If lenient contains a true value, then errors will not be fatal.
<<lessThis is a helper class that supports WWW::Google::SiteMap and WWW::Google::SiteMap::Index.
METHODS
new()
loc()
Change the URL associated with this object. For a WWW::Google::SiteMap this specifies the URL to add to the sitemap, for a WWW::Google::SiteMap::Index, this is the URL to the sitemap.
changefreq()
Set the change frequency of the object. This field is not used in sitemap indexes, only in sitemaps.
lastmod()
Set the last modified time. You have to provide this as one of the following:
a complete ISO8601 time string
A complete time string will be accepted in exactly this format:
YYYY-MM-DDTHH:MM:SS+TZ:TZ
YYYY - 4-digit year
MM - 2-digit month (zero padded)
DD - 2-digit year (zero padded)
T - literal character T
HH - 2-digit hour (24-hour, zero padded)
SS - 2-digit second (zero padded)
+TZ:TZ - Timezone offset (hours and minutes from GMT, 2-digit, zero padded)
epoch time
Seconds since the epoch, such as would be returned from time(). If you provide an epoch time, then an appropriate ISO8601 time will be constructed with gmtime() (which means the timezone offset will be +00:00). If anyone knows of a way to determine the timezone offset of the current host that is cross-platform and doesnt add dozens of dependencies then I might change this.
an ISO8601 date (YYYY-MM-DD)
A simple date in YYYY-MM-DD format. The time will be set to 00:00:00+00:00.
a DateTime object.
If a DateTime object is provided, then an appropriate timestamp will be constructed from it.
a HTTP::Response object.
If given an HTTP::Response object, the last modified time will be calculated from whatever time information is available in the response headers. Currently this means either the Last-Modified header, or tue current time - the current_age() calculated by the response object. This is useful for building web crawlers.
Note that in order to conserve memory, any of these items that you provide will be converted to a complete ISO8601 time string when they are stored. This means that if you pass an object to lastmod(), you cant get it back out. If anyone actually has a need to get the objects back out, then I might make a configuration option to store the objects internally.
If you have suggestions for other types of date/time objects or formats that would be usefule, let me know and Ill consider them.
priority()
Set the priority. This field is not used in sitemap indexes, only in sitemaps.
delete()
Delete this object from the sitemap or the sitemap index.
lenient()
If lenient contains a true value, then errors will not be fatal.
Download (0.030MB)
Added: 2006-10-24 License: Perl Artistic License Price:
1097 downloads
rem2ics 0.91
rem2ics project will convert the output of remind -s into correct RFC2445 iCalendar format. more>>
rem2ics project will convert the output of "remind -s" into correct RFC2445 iCalendar format.
Usage:
TZ=timezone rem2ics [-man] [-do] [-norecur] < input >output
<<lessUsage:
TZ=timezone rem2ics [-man] [-do] [-norecur] < input >output
Download (0.012MB)
Added: 2007-02-19 License: GPL (GNU General Public License) Price:
978 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 2
- 1
- 2
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above tz search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed