Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dex4er/perl-datetime-format-emiucp

DateTime::Format::EMIUCP - Parse time format for EMI-UCP protocol
https://github.com/dex4er/perl-datetime-format-emiucp

Last synced: 11 days ago
JSON representation

DateTime::Format::EMIUCP - Parse time format for EMI-UCP protocol

Awesome Lists containing this project

README

        

NAME
DateTime::Format::EMIUCP - Parse time formats for EMI-UCP protocol

SYNOPSIS
use DateTime::Format::EMIUCP;

my $scts = DateTime::Format::EMIUCP->parse_datetime('030212065530');
print $scts->ymd; # 2012-02-03
print $scts->hms; # 06:55:30

my $vp = DateTime::Format::EMIUCP->parse_datetime('0302120655');
print $vp->ymd; # 2012-02-03
print $vp->hms; # 06:55:00

DESCRIPTION
These formats are part of EMI-UCP protocol message. EMI-UCP protocol is
primarily used to connect to short message service centers (SMSCs) for
mobile telephones.

SCTS is a string of 12 numeric characters which represents Service
Center time-stamp in ddMMyyHHmmss format.

DSCTS is a string of 12 numeric characters which represents Delivery
time-stamp in ddMMyyHHmmss format.

DDT is a string of 10 numeric characters which represents deferred
delivery time in ddMMyyHHmm format.

VP is a string of 10 numeric characters which represents validity period
time in ddMMyyHHmm format.

See EMI-UCP Interface 5.2 Specification for further explanations.

PREREQUISITES
* DateTime::Format::Builder

SEE ALSO
DateTime::Format::EMIUCP::DDT, DateTime::Format::EMIUCP::DSCTS,
DateTime::Format::EMIUCP::SCTS, DateTime::Format::EMIUCP::VP, DateTime.

BUGS
If you find the bug or want to implement new features, please report it
at http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-EMIUCP

The code repository is available at
http://github.com/dex4er/perl-DateTime-Format-EMIUCP

AUTHOR
Piotr Roszatycki

LICENSE
Copyright (c) 2012 Piotr Roszatycki .

This is free software; you can redistribute it and/or modify it under
the same terms as perl itself.

See http://dev.perl.org/licenses/artistic.html