summaryrefslogtreecommitdiff
path: root/src/Components/DateTime/DateTimeController.cpp
blob: 1c15642e417e070a2b530213ee4481d790c10244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "DateTimeController.h"

using namespace Pinetime::Controllers;


void DateTime::UpdateTime(uint16_t year, Months month, uint8_t day, Days dayOfWeek, uint8_t hour, uint8_t minute,
                          uint8_t second) {
  this->year = year;
  this->month = month;
  this->dayOfWeek = dayOfWeek;
  this->day = day;
  this->hour = hour;
  this->minute = minute;
  this->second = second;
}