Libical API Documentation
4.0
Loading...
Searching...
No Matches
src
libical
astime.h
Go to the documentation of this file.
1
/*
2
* This work is based on work from Hiram Clawson and has been modified to the
3
* needs of the libical project. The original copyright notice is as follows:
4
*/
5
/*
6
* Copyright (c) 1986-2000, Hiram Clawson
7
* All rights reserved.
8
*
9
* Redistribution and use in source and binary forms, with or
10
* without modification, are permitted provided that the following
11
* conditions are met:
12
*
13
* Redistributions of source code must retain the above
14
* copyright notice, this list of conditions and the
15
* following disclaimer.
16
*
17
* Redistributions in binary form must reproduce the
18
* above copyright notice, this list of conditions and
19
* the following disclaimer in the documentation and/or
20
* other materials provided with the distribution.
21
*
22
* Neither name of The Museum of Hiram nor the names of
23
* its contributors may be used to endorse or promote products
24
* derived from this software without specific prior
25
* written permission.
26
*
27
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
28
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
29
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
30
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
31
* IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
32
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
37
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
38
* THE POSSIBILITY OF SUCH DAMAGE.
39
*/
40
/*
41
* The modifications made are licensed as follows (to distinguish between
42
* the original code and the modifications made, refer to the source code
43
* history):
44
*/
45
/*======================================================================
46
47
SPDX-FileCopyrightText: 2018, Markus Minichmayr
48
https://tapkey.com
49
50
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
51
========================================================================*/
52
57
58
#ifndef ICAL_ASTIME_H
59
#define ICAL_ASTIME_H
60
61
#include "libical_ical_export.h"
62
63
/* Functions in caldate.c */
64
65
typedef
struct
ut_instant_int
66
{
67
long
j_date0
;
68
long
year
;
69
int
month
;
70
int
day
;
71
int
weekday
;
72
int
day_of_year
;
73
} UTinstantInt, *UTinstantIntPtr;
74
75
/* Functions in caldate.c */
76
95
LIBICAL_ICAL_EXPORT
void
caldat_int
(UTinstantIntPtr);
96
112
LIBICAL_ICAL_EXPORT
void
juldat_int
(UTinstantIntPtr);
113
114
#endif
juldat_int
void juldat_int(UTinstantIntPtr)
caldat_int
void caldat_int(UTinstantIntPtr)
ut_instant_int
Definition
astime.h:66
ut_instant_int::day
int day
Definition
astime.h:70
ut_instant_int::day_of_year
int day_of_year
Definition
astime.h:72
ut_instant_int::j_date0
long j_date0
Definition
astime.h:67
ut_instant_int::year
long year
Definition
astime.h:68
ut_instant_int::month
int month
Definition
astime.h:69
ut_instant_int::weekday
int weekday
Definition
astime.h:71
Generated on Fri May 30 2025 11:51:05 for Libical API Documentation by
1.13.2