51Degrees Common C/C++  4.1

A shared functionality library that is used by 51Degrees products

date.h

1 /* *********************************************************************
2  * This Source Code Form is copyright of 51 Degrees Mobile Experts Limited.
3  * Copyright 2019 51 Degrees Mobile Experts Limited, 5 Charlotte Close,
4  * Caversham, Reading, Berkshire, United Kingdom RG4 7BY
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0.
8  *
9  * If a copy of the MPL was not distributed with this file, You can obtain
10  * one at http://mozilla.org/MPL/2.0/.
11  *
12  * This Source Code Form is "Incompatible With Secondary Licenses", as
13  * defined by the Mozilla Public License, v. 2.0.
14  * ******************************************************************** */
15 
16 #ifndef FIFTYONE_DEGREES_DATE_H_INCLUDED
17 #define FIFTYONE_DEGREES_DATE_H_INCLUDED
18 
34 #include <stdint.h>
35 #ifdef _MSC_VER
36 #include <windows.h>
37 #endif
38 
39 #include "data.h"
40 
46 #pragma pack(push, 1)
47 typedef struct fiftyone_degrees_date_t {
48  int16_t year;
49  byte month;
50  byte day;
52 #pragma pack(pop)
53 
58 #endif
Used to store the date when the dataset was produced and next date 51Degrees expect to provide a new ...
Definition: date.h:47
byte day
Day of the Month.
Definition: date.h:50
byte month
Month.
Definition: date.h:49
int16_t year
Year.
Definition: date.h:48