Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dex4er/perl-datetime-format-emiucp
- Owner: dex4er
- Created: 2012-04-10T11:32:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-04-19T20:03:14.000Z (over 12 years ago)
- Last Synced: 2024-10-28T09:01:59.453Z (about 2 months ago)
- Language: Perl
- Homepage: https://metacpan.org/release/DateTime-Format-EMIUCP
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
DateTime::Format::EMIUCP - Parse time formats for EMI-UCP protocolSYNOPSIS
use DateTime::Format::EMIUCP;my $scts = DateTime::Format::EMIUCP->parse_datetime('030212065530');
print $scts->ymd; # 2012-02-03
print $scts->hms; # 06:55:30my $vp = DateTime::Format::EMIUCP->parse_datetime('0302120655');
print $vp->ymd; # 2012-02-03
print $vp->hms; # 06:55:00DESCRIPTION
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::BuilderSEE 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-EMIUCPThe code repository is available at
http://github.com/dex4er/perl-DateTime-Format-EMIUCPAUTHOR
Piotr RoszatyckiLICENSE
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