OpenCPN Partial API docs
Loading...
Searching...
No Matches
tide_time.h
1/**************************************************************************
2 * Copyright (C) 2013 by David S. Register *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
16 **************************************************************************/
17
18#ifndef TIDE_TIME_H_
19#define TIDE_TIME_H_
20
22enum {
23 FORWARD_ONE_HOUR_STEP = 3600,
24 FORWARD_TEN_MINUTES_STEP = 600,
25 FORWARD_ONE_MINUTES_STEP = 60,
26 BACKWARD_ONE_HOUR_STEP = -3600,
27 BACKWARD_TEN_MINUTES_STEP = -600,
28 BACKWARD_ONE_MINUTES_STEP = -60
29};
30
31#endif