NAME

Device::RFXCOM::Response::DateTime - Device::RFXCOM::Response class for DateTime message from RFXCOM receiver

VERSION

version 1.110800

SYNOPSIS

# see Device::RFXCOM::RX

DESCRIPTION

Message class for DateTime messages from an RFXCOM receiver.

METHODS

new(%params)

This constructor returns a new response object.

type()

This method returns 'datetime'.

device()

This method returns a string representing the name of the device that sent the date and time data.

date()

This method returns a string of the form 'YYYYMMDD' representing the date from the date and time RF message.

time()

This method returns a string of the form 'HHMMSS' representing the time from the date and time RF message.

day()

This method returns the day (in English) from the date and time RF message. It is probably best to avoid using this and calculate the correct value for the locale from the other data.

summary()

This method returns a string summary of the date and time information.

THANKS

Special thanks to RFXCOM, http://www.rfxcom.com/, for their excellent documentation and for giving me permission to use it to help me write this code. I own a number of their products and highly recommend them.

SEE ALSO

RFXCOM website: http://www.rfxcom.com/

AUTHOR

Mark Hindess <soft-rfxcom@temporalanomaly.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Mark Hindess.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.