view release on metacpan or search on metacpan
lib/HTML/Widget/Plugin/Calendar.pm view on Meta::CPAN
use strict;
use warnings;
package HTML::Widget::Plugin::Calendar;
# ABSTRACT: simple construction of jscalendar inputs
$HTML::Widget::Plugin::Calendar::VERSION = '0.022';
use parent qw(HTML::Widget::Plugin Class::Data::Inheritable);
use HTML::Element;
use HTML::TreeBuilder;
use Data::JavaScript::Anon;
#pod =head1 SYNOPSIS
#pod
#pod $factory->calendar({
#pod name => 'date_of_birth',
#pod format => '%Y-%m-%d',
#pod value => $user->date_of_birth,
#pod });
#pod
#pod =head1 DESCRIPTION
#pod
#pod This module plugs in to HTML::Widget::Factory and provides a calendar widget
#pod using the excellent jscalendar.
#pod
#pod =head1 METHODS
#pod
#pod =head2 C< provided_widgets >
#pod
#pod This plugin provides the following widgets: calendar, calendar_js
#pod
#pod =cut
sub provided_widgets { qw(calendar calendar_js) }
#pod =head2 calendar
#pod
#pod =cut
sub calendar {
my ($self, $factory, $arg) = @_;
$arg->{attr}{name} ||= $arg->{attr}{id};
Carp::croak "you must supply a widget id for calendar"
unless $arg->{attr}{id};
$arg->{jscalendar} ||= {};
$arg->{jscalendar}{showsTime} = 1 if $arg->{time};
$arg->{format}
||= '%Y-%m-%d' . ($arg->{jscalendar}{showsTime} ? ' %H:%M' : '');
my $widget = HTML::Element->new('input');
$widget->attr($_ => $arg->{attr}{$_}) for keys %{ $arg->{attr} };
$widget->attr(value => $arg->{value}) if exists $arg->{value};
lib/HTML/Widget/Plugin/Calendar.pm view on Meta::CPAN
= sprintf "Calendar.setup(%s);",
Data::JavaScript::Anon->anon_dump({
inputField => $widget->attr('id'),
ifFormat => $arg->{format},
($arg->{no_button} ? () : (button => $button->attr('id'))),
%{ $arg->{jscalendar} },
})
;
# we need to make this an HTML::Element literal to avoid escaping the JS
$js = HTML::Element->new('~literal', text => $js);
$script->push_content($js);
return join q{},
$self->calendar_js($factory, $arg),
map { $_->as_XML } ($widget, ($arg->{no_button} ? () : $button), $script),
;
}
#pod =head2 C< calendar_js >
#pod
#pod This method returns the JavaScript needed to use the calendar. It will only
#pod return the JavaScript the first time it's called.
#pod
#pod Normally it's called when the calendar widget is used, but it may be called
#pod manually to force the JavaScript to be placed in your document at the location
#pod of your choosing.
#pod
#pod =cut
sub calendar_js {
my ($self, $factory, $arg) = @_;
return '' if $factory->{$self}->{output_js}++;
my $base = $self->calendar_baseurl;
Carp::croak "calendar_baseurl is not defined" if not defined $base;
$base =~ s{/\z}{}; # to avoid baseurl//yourface or baseurlyourface
my $scripts = <<END_HTML;
<script type="text/javascript" src="$base/calendar.js"></script>
<script type="text/javascript" src="$base/lang/calendar-en.js"></script>
<script type="text/javascript" src="$base/calendar-setup.js"></script>
END_HTML
}
#pod =head2 C< calendar_baseurl >
#pod
#pod This method sets or returns the plugin's base URL for the jscalendar files.
#pod This must be set or calendar plugin creation will throw an exception.
#pod
#pod =cut
__PACKAGE__->mk_classdata( qw(calendar_baseurl) );
1;
__END__
lib/HTML/Widget/Plugin/Calendar.pm view on Meta::CPAN
=encoding UTF-8
=head1 NAME
HTML::Widget::Plugin::Calendar - simple construction of jscalendar inputs
=head1 VERSION
version 0.022
=head1 SYNOPSIS
$factory->calendar({
name => 'date_of_birth',
format => '%Y-%m-%d',
value => $user->date_of_birth,
});
=head1 DESCRIPTION
This module plugs in to HTML::Widget::Factory and provides a calendar widget
using the excellent jscalendar.
=head1 METHODS
=head2 C< provided_widgets >
This plugin provides the following widgets: calendar, calendar_js
=head2 calendar
=head2 C< calendar_js >
This method returns the JavaScript needed to use the calendar. It will only
return the JavaScript the first time it's called.
Normally it's called when the calendar widget is used, but it may be called
manually to force the JavaScript to be placed in your document at the location
of your choosing.
=head2 C< calendar_baseurl >
This method sets or returns the plugin's base URL for the jscalendar files.
This must be set or calendar plugin creation will throw an exception.
=head1 AUTHOR
Ricardo SIGNES
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/Promise/MIME.pm view on Meta::CPAN
# The data herein is the result of creating a new instance and dumping its data, like:
# say json_encode( HTTP::Promise::MIME->new( '/some/where/mime.types' )->types );
sub _data
{
my $data = <<'EOT';
{"application/vnd.sun.xml.impress":["sxi"],"application/vnd.mcd":["mcd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.jisp":["jisp"],"image/webp":["webp"],"application/pkcs7-signature":["p7s"],"application/xspf+xml":["xspf"],"audio/vnd.nue...
EOT
return( \$data );
}
# NOTE: sub FREEZE is inherited
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/Proxy/Selective.pm view on Meta::CPAN
msh => "model/mesh",
mesh => "model/mesh",
silo => "model/mesh",
wrl => "model/vrml",
vrml => "model/vrml",
ics => "text/calendar",
icz => "text/calendar",
css => "text/css",
csv => "text/csv",
323 => "text/h323",
html => "text/html",
htm => "text/html",
lib/HTTP/Proxy/Selective.pm view on Meta::CPAN
tk => "text/x-tcl",
tex => "text/x-tex",
ltx => "text/x-tex",
sty => "text/x-tex",
cls => "text/x-tex",
vcs => "text/x-vcalendar",
vcf => "text/x-vcard",
'3gp' => "video/3gpp",
dl => "video/dl",
dif => "video/dv",
dv => "video/dv",
view all matches for this distribution
view release on metacpan or search on metacpan
Word/noun.txt view on Meta::CPAN
cal,cals
calamity,calamities
calcite,calcites
calculation,calculations
calculator,calculators
calendar,calendars
calf,calves
calibration,calibrations
californian,californians
caliper,calipers
call,calls
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Hobocamp/Calendar.pm view on Meta::CPAN
}
use v5.10;
use warnings;
# ABSTRACT: calendar widget
use Moose;
with qw(Hobocamp::Role::Widget Hobocamp::Role::Window);
lib/Hobocamp/Calendar.pm view on Meta::CPAN
);
sub run {
my ($self) = @_;
my $retcode = Hobocamp::Dialog::dialog_calendar($self->title, $self->prompt, $self->width, $self->height, $self->day, $self->month, $self->year);
$self->value($self->_get_user_input_result());
return $retcode;
}
lib/Hobocamp/Calendar.pm view on Meta::CPAN
__END__
=pod
=head1 NAME
Hobocamp::Calendar - calendar widget
=head1 VERSION
version 0.600
view all matches for this distribution
view release on metacpan or search on metacpan
share/root/static/yui/build/assets/skins/sam/autocomplete.css
share/root/static/yui/build/assets/skins/sam/bg-h.gif
share/root/static/yui/build/assets/skins/sam/bg-v.gif
share/root/static/yui/build/assets/skins/sam/blankimage.png
share/root/static/yui/build/assets/skins/sam/button.css
share/root/static/yui/build/assets/skins/sam/calendar.css
share/root/static/yui/build/assets/skins/sam/carousel.css
share/root/static/yui/build/assets/skins/sam/colorpicker.css
share/root/static/yui/build/assets/skins/sam/container.css
share/root/static/yui/build/assets/skins/sam/datatable.css
share/root/static/yui/build/assets/skins/sam/desc.gif
share/root/static/yui/build/button/assets/skins/sam/split-button-arrow-hover.png
share/root/static/yui/build/button/assets/skins/sam/split-button-arrow.png
share/root/static/yui/build/button/button-debug.js
share/root/static/yui/build/button/button-min.js
share/root/static/yui/build/button/button.js
share/root/static/yui/build/calendar/assets/calendar-core.css
share/root/static/yui/build/calendar/assets/calendar.css
share/root/static/yui/build/calendar/assets/calgrad.png
share/root/static/yui/build/calendar/assets/callt.gif
share/root/static/yui/build/calendar/assets/calrt.gif
share/root/static/yui/build/calendar/assets/calx.gif
share/root/static/yui/build/calendar/assets/skins/sam/calendar-skin.css
share/root/static/yui/build/calendar/assets/skins/sam/calendar.css
share/root/static/yui/build/calendar/calendar-debug.js
share/root/static/yui/build/calendar/calendar-min.js
share/root/static/yui/build/calendar/calendar.js
share/root/static/yui/build/carousel/assets/ajax-loader.gif
share/root/static/yui/build/carousel/assets/carousel-core.css
share/root/static/yui/build/carousel/assets/skins/sam/ajax-loader.gif
share/root/static/yui/build/carousel/assets/skins/sam/carousel-skin.css
share/root/static/yui/build/carousel/assets/skins/sam/carousel.css
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ICal/Format/Natural.pm view on Meta::CPAN
# parse date
my $parser = DateTime::Format::Natural->new;
my $dt = $parser->parse_datetime($date);
if ( $parser->success ) {
my $calendar = Data::ICal->new;
my $vevent = Data::ICal::Entry::Event->new;
$vevent->add_properties(
summary => $summary,
dtstart => DateTime::Format::ICal->format_datetime($dt),
dtend =>
DateTime::Format::ICal->format_datetime( $dt->add( hours => 1 ) ),
);
$calendar->add_entry($vevent);
$calendar->add_properties( method => 'PUBLISH' );
return $calendar;
}
return
sprintf( "error parsing date (%s). error was: %s", $date,
$parser->error );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ICal/QuickAdd.pm view on Meta::CPAN
sub as_ical {
my $self = shift;
require Data::ICal;
my $calendar = Data::ICal->new;
$calendar->add_entry( $self->as_vevent );
$calendar->add_properties( method => 'PUBLISH');
return $calendar;
}
=head2 as_ical_email()
my $email_simple_obj = $iqa->as_ical_email(
lib/ICal/QuickAdd.pm view on Meta::CPAN
From => { type => SCALAR, default => $self->from_email },
});
require Email::Simple;
my $email = Email::Simple->new('');
$email->header_set("Content-Type", "text/calendar; name=calendar.ics; charset=utf-8; METHOD=PUBLISH");
$email->header_set(From => $in{From} );
$email->header_set(To => $in{To} );
$email->header_set("Subject", $self->parsed_string );
$email->body_set( $self->as_ical->as_string );
view all matches for this distribution
view release on metacpan or search on metacpan
brotli/c/common/dictionary.bin view on Meta::CPAN
market.highwaydone inctivity"last">obligedrise to"undefimade to Early praisedin its for hisathleteJupiterYahoo! termed so manyreally s. The a woman?value=direct right" bicycleacing="day andstatingRather,higher Office are nowtimes, when a pay foron th...
();" rea place\u003Caabout atr>
ccount gives a<SCRIPTRailwaythemes/toolboxById("xhumans,watchesin some if (wicoming formats Under but hashanded made bythan infear ofdenoted/iframeleft involtagein eacha"base ofIn manyundergoregimesaction </p>
<ustomVa;></importsor thatmostly &re size="</a></ha classpassiveHost = WhetherfertileVarious=[];(fucameras/></td>acts asIn some>
<!organis <br />Beijingcatalà deutscheuropeueuskaragaeilgesvenskaespañamensajeusuariotrabajoméxicopáginasiempresistemaoctubreduranteañadirempresamomentonuestroprimeratravésgraciasnuestraprocesoestadoscalidadpersonanúmeroacuerdomúsicamiembroofe...
measureswidth = variableinvolvedvirginianormallyhappenedaccountsstandingnationalRegisterpreparedcontrolsaccuratebirthdaystrategyofficialgraphicscriminalpossiblyconsumerPersonalspeakingvalidateachieved.jpg" />machines</h2>
keywordsfriendlybrotherscombinedoriginalcomposedexpectedadequatepakistanfollow" valuable</label>relativebringingincreasegovernorplugins/List of Header">" name=" ("graduate</head>
commercemalaysiadirectormaintain;height:schedulechangingback to catholicpatternscolor: #greatestsuppliesreliable</ul>
<select citizensclothingwatching<li id="specificcarryingsentence<center>contrastthinkingcatch(e)southernMichael merchantcarouselpadding:interior.split("lizationOctober ){returnimproved-->
brotli/c/common/dictionary.bin view on Meta::CPAN
In the Before theafterwardscurrently across thescientificcommunity.capitalismin Germanyright-wingthe systemSociety ofpoliticiandirection:went on toremoval of New York apartmentsindicationduring theunless thehistoricalhad been adefinitiveingredientatt...
<div id Official worldwide.aria-labelthe planetand it wasd" value="looking atbeneficialare in themonitoringreportedlythe modernworking onallowed towhere the innovative</a></div>soundtracksearchFormtend to beinput id="opening ofrestrictedadopted byadd...
occasionalbecause itstarted tophysically></div>
created byCurrently, bgcolor="tabindex="disastrousAnalytics also has a><div id="</style>
<called forsinger and.src = "//violationsthis pointconstantlyis locatedrecordingsd from thenederlandsportuguês×¢×ר××ªÙØ§Ø±Ø³Ûdesarrollocomentarioeducaciónseptiembreregistradodirecciónubicaciónpublicidadrespuestasresultadosimportantereservado...
However, compositionclear:both;cooperationwithin the label for="border-top:New Zealandrecommendedphotographyinteresting<sup>controversyNetherlandsalternativemaxlength="switzerlandDevelopmentessentially
Although </textarea>thunderbirdrepresented&ndash;speculationcommunitieslegislationelectronics
<div id="illustratedengineeringterritoriesauthoritiesdistributed6" height="sans-serif;capable of disappearedinteractivelooking forit would beAfghanistanwas createdMath.floor(surroundingcan also beobservationmaintenanceencountered<h2 class="more rece...
view all matches for this distribution
view release on metacpan or search on metacpan
my $mapping = {
#UPDATE when element list change
animatedlabel => 'IUP::AnimatedLabel', # https://webserver2.tecgraf.puc-rio.br/iup/en/elem/iupanimatedlabel.html
backgroundbox => 'IUP::BackgroundBox', # https://webserver2.tecgraf.puc-rio.br/iup/en/elem/iupbackgroundbox.html
button => 'IUP::Button',
calendar => 'IUP::Calendar', # https://webserver2.tecgraf.puc-rio.br/iup/en/elem/iupcalendar.html
canvas => 'IUP::Canvas',
cbox => 'IUP::Cbox',
cells => 'IUP::Cells',
clipboard => 'IUP::Clipboard',
colorbar => 'IUP::ColorBar',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Icon/FamFamFam/Silk.pm view on Meta::CPAN
calculator_add=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAImSURBVDjLjZLda9JRGMf3b3TTdTcFXXXRTbeDIijo5W7GmtWqCysIF1JM9DfffvMN+fk284UpKqRIMCfIDCO7kNSRooJvOBUvgkFEKPv2O8+WsWmtB...
calculator_delete=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJGSURBVDjLjZLda5JhGMYN3R9QRxF04EEnQf9AR1HtLE86aNFhSVtsdWCjLQMLjNd3bmp+IWqa+UGKGikGswyZy8oiQ4UUXfk1pya0k9YHilfv81...
calculator_edit=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKRSURBVDjLhZHfT1JhHMb9F7ptXXXR2lw/Llp3blnNZauLtmwtp15oWsu6oJZ5bKyFQiGIEIRIKoEsJtikWM1JmiQhtpieo3ISUoEINiJNE2SgT5x3...
calculator_error=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INw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mZelll2hlCVF3FDKlZRyQWJXmsKNCzeLcqdE5D0mL/M2s6HlJSlhs2Rv51iYOZ3z+/2ex8X/zHZJ...
calendar_edit=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKbSURBVDjLpZNLbIxRGIaf/9Lfpa1rZ0hNtYpEVRBiNkUiEZFoKjSxQmLBglizIQiJILEgWHQlgkpLGg1BU6E3imorLkElLmOmM1XV6mXm/8/5LH5GI7...
calendar_link=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKtSURBVDjLpZPrT5JRHMfdetn/4evet3QrhGayZathrbwNppMU8ckFONEhoiGFeMNL4o3yBoi37lQQ89rYypaLIitTQVSUWKC9+Haeg5P5svXi+5zf7/...
calendar_view_day=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHOSURBVDjLpZOxa1RBEIe/d/e8FKeFEA2IGBWCICZYBSESBCFglUDSCJZaRBBbK1HQ0s4/QQlCgoKdoBA9sVBshCBETCNRiUUg5PDt7MxY7HuXdx...
calendar_view_month=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHlSURBVDjLpVPLShxBFD3T3WOUUUGYByhkI+50o6Bmo3ErAVG3Qvb5giyThets8gmC+DYQzEaGBMUnBhQRJAEXQuZJ8Mlodz28t6rbGY2b4IXq...
calendar_view_week=>'iVBORw0KGgoAAAANSUhE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pVNLaFNBFD3zvtHUpEnaJIhNm6aaVhtKqtWFqBDUgJ+CC11ZqyCKq7oQshdEEReiFCnaVTdFcSF2I8Uv9QPWD2lKmqpVqW1f09CXNP+X5D3n...
camera_error=>'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAALVSURBVDjLpVO7T1NRGP/dR18iF+iTQktEkHdDCjHgIGAX40AMMhrkD3AxcWBxMnExTigDPhYJcdFFHHxEo5HBVKlaCk1bFJJiaQuhpbS0ve29x3Ov0ji...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Icon/Theme/Helper.pm view on Meta::CPAN
if (defined($icon)) {
return $icon;
}
}
#checks it for a calendar
if ($mimetype =~ /calendar/) {
$icon=$self->getIcon('MimeTypes', 'calendar');
if (defined($icon)) {
return $icon;
}
}
if ($mimetype =~ /calendar/) {
$icon=$self->getIcon('MimeTypes', 'stock_calendar');
if (defined($icon)) {
return $icon;
}
}
if ($mimetype =~ /calendar/) {
$icon=$self->getIcon('MimeTypes', 'x-office-calendar');
if (defined($icon)) {
return $icon;
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
examples/plugin-info.html view on Meta::CPAN
<TD>C</TD>
</TR>
<TR>
<TD>calendar</TD>
<TD></TD>
<TD>calendar(1) input file</TD>
</TR>
<TR>
<TD>catalog</TD>
view all matches for this distribution
view release on metacpan or search on metacpan
ccv-src/lib/3rdparty/sqlite3/sqlite3.c view on Meta::CPAN
** All other code has file scope.
**
** SQLite processes all times and dates as Julian Day numbers. The
** dates and times are stored as the number of days since noon
** in Greenwich on November 24, 4714 B.C. according to the Gregorian
** calendar system.
**
** 1970-01-01 00:00:00 is JD 2440587.5
** 2000-01-01 00:00:00 is JD 2451544.5
**
** This implemention requires years to be expressed as a 4-digit number
** which means that only dates between 0000-01-01 and 9999-12-31 can
** be represented, even though julian day numbers allow a much wider
** range of dates.
**
** The Gregorian calendar system is used for all dates and times,
** even those that predate the Gregorian calendar. Historians usually
** use the Julian calendar for dates prior to 1582-10-15 and for some
** dates afterwards, depending on locale. Beware of this difference.
**
** The conversion algorithms are implemented based on descriptions
** in the following text:
**
ccv-src/lib/3rdparty/sqlite3/sqlite3.c view on Meta::CPAN
return 0;
}
/*
** Convert from YYYY-MM-DD HH:MM:SS to julian day. We always assume
** that the YYYY-MM-DD is according to the Gregorian calendar.
**
** Reference: Meeus page 61
*/
static void computeJD(DateTime *p){
int Y, M, D, A, B, X1, X2;
ccv-src/lib/3rdparty/sqlite3/sqlite3.c view on Meta::CPAN
/*
** Find the current time (in Universal Coordinated Time). Write into *piNow
** the current time and date as a Julian Day number times 86_400_000. In
** other words, write into *piNow the number of milliseconds since the Julian
** epoch of noon in Greenwich on November 24, 4714 B.C according to the
** proleptic Gregorian calendar.
**
** On success, return SQLITE_OK. Return SQLITE_ERROR if the time and date
** cannot be found.
*/
static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
ccv-src/lib/3rdparty/sqlite3/sqlite3.c view on Meta::CPAN
/*
** Find the current time (in Universal Coordinated Time). Write into *piNow
** the current time and date as a Julian Day number times 86_400_000. In
** other words, write into *piNow the number of milliseconds since the Julian
** epoch of noon in Greenwich on November 24, 4714 B.C according to the
** proleptic Gregorian calendar.
**
** On success, return SQLITE_OK. Return SQLITE_ERROR if the time and date
** cannot be found.
*/
static int winCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *piNow){
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/CairoSVG.pod view on Meta::CPAN
<table>
<tr>
<td>
<img height="250"
src="https://benkasminbullock.github.io/supertinyiconscairosvg//svg/calendar.svg"
width="250">
</td>
<td>
<img height="250"
src="https://benkasminbullock.github.io/supertinyiconscairosvg//png/calendar.png"
width="250">
</td>
</tr>
<tr>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/EXIF/DateTime/Parser.pm view on Meta::CPAN
While parsing standards-compliant EXIF Date/Time string is easy, allowing for
the various ways different non-standards-compliant implementations mangle these
strings is neither easy nor pleasant. This module encapsulates this complexity
for you. It provides a parser which takes an EXIF Date/Time string and returns
time in "calendar time" format, aka. time_t.
=head2 EXPORTS
Nothing.
lib/Image/EXIF/DateTime/Parser.pm view on Meta::CPAN
=head1 SECURITY
The module untaints the input string and passes the numbers (and spaces in some
cases) as arguments to POSIX::mktime. Thus as long as mktime can deal with
numbers and/or spaces on its input, the worst that can happen is that an
invalid date/time string will produce a surprising calendar time value or an
undef.
=head1 CAVEATS
=head2 Non-canonical time strings
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Image/ExifTool.pm view on Meta::CPAN
HDP => 'image/vnd.ms-photo',
HDR => 'image/vnd.radiance',
HTML => 'text/html',
ICC => 'application/vnd.iccprofile',
ICO => 'image/x-icon', #PH (NC)
ICS => 'text/calendar',
IDML => 'application/vnd.adobe.indesign-idml-package',
IIQ => 'image/x-raw',
IND => 'application/x-indesign',
INX => 'application/x-indesign-interchange', #PH (NC)
ISO => 'application/x-iso9660-image',
view all matches for this distribution