Skip to content

Commit ef6b3a6

Browse files
committed
TimeService: make isTimeValid public
1 parent 7d266e8 commit ef6b3a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utility/time/TimeService.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ class TimeServiceClass
5656
*/
5757
static unsigned long getTimeFromString(const String& input);
5858

59+
static bool isTimeValid(unsigned long const time);
60+
5961
private:
6062

6163
ConnectionHandler * _con_hdl;
@@ -74,7 +76,6 @@ class TimeServiceClass
7476
void initRTC();
7577
void setRTC(unsigned long time);
7678
unsigned long getRTC();
77-
static bool isTimeValid(unsigned long const time);
7879
static bool isTimeZoneOffsetValid(long const offset);
7980

8081
};

0 commit comments

Comments
 (0)