summaryrefslogtreecommitdiff
path: root/csrc/rich4_time.h
blob: 0f88d28f2cf49deba40da51f1b361586c16ae0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (C)  2018 Iru Cai <mytbk920423@gmail.com>
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#include <stdint.h>

typedef struct
{
  uint8_t day;
  uint8_t month;
  uint16_t year;
  uint16_t dayofweek;
} rich4_time;

void get_local_time(rich4_time *t);