NAME

App::Koyomi::JobTime::Formatter - Mixin to enhance job_times data object

SYNOPSIS

    use App::Koyomi::JobTime::Formatter qw(time2str str2time);
    my $string = $self->time2str;
    my $time   = str2time($string);

DESCRIPTION

Mixin to enhance job_times data object. And utility for job_times date format.

MIXIN METHODS

time2str

Convert object's datetime into short string.

Ex) '2010/10/20 11:10 (*)', '*/*/* *:5 (*)'

SUBROUTINES

str2time

Convert datetime string whose format is described above into Hash Reference.

AUTHORS

IKEDA Kiyoshi <progrhyme@gmail.com>

LICENSE

Copyright (C) 2015-2017 IKEDA Kiyoshi.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU General Public License or (b) the Artistic License.