COSA
An Object-Oriented Platform for Arduino Programming
Time.cpp File Reference
#include "Cosa/Time.hh"
Include dependency graph for Time.cpp:

Go to the source code of this file.

Functions

IOStreamoperator<< (IOStream &outs, const time_t &t)
 

Variables

const uint8_t time_t::days_in[] __PROGMEM
 

Detailed Description

Version
1.0

License

Copyright (C) 2013-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file Time.cpp.

Function Documentation

IOStream& operator<< ( IOStream outs,
const time_t t 
)

Print the date/time to the given stream with the format "YYYY-MM-DD HH:MM:SS".

Parameters
[in]outsoutput stream.
[in]ttime structure.
Returns
iostream.

Definition at line 23 of file Time.cpp.

Variable Documentation

const uint8_t time_t::days_in [] __PROGMEM
Initial value:
= {
0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
}

Definition at line 81 of file Time.cpp.