Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/RTClib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,6 @@ DateTime::DateTime(uint16_t year, uint8_t month, uint8_t day, uint8_t hour,
ss = sec;
}

/**************************************************************************/
/*!
@brief Copy constructor.
@param copy DateTime to copy.
*/
/**************************************************************************/
DateTime::DateTime(const DateTime &copy)
: yOff(copy.yOff), m(copy.m), d(copy.d), hh(copy.hh), mm(copy.mm),
ss(copy.ss) {}

/**************************************************************************/
/*!
@brief Convert a string containing two digits to uint8_t, e.g. "09" returns
Expand Down
1 change: 0 additions & 1 deletion src/RTClib.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ class DateTime {
DateTime(uint32_t t = SECONDS_FROM_1970_TO_2000);
DateTime(uint16_t year, uint8_t month, uint8_t day, uint8_t hour = 0,
uint8_t min = 0, uint8_t sec = 0);
DateTime(const DateTime &copy);
DateTime(const char *date, const char *time);
DateTime(const __FlashStringHelper *date, const __FlashStringHelper *time);
DateTime(const char *iso8601date);
Expand Down