blob: 765ca0c10e139bd206f9da47205ee5ad5645f433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
/*======================================================================
FILE: ICalPeriodType.java
CREATOR: structConverter 01/11/02
SPDX-FileCopyrightText: 2002, Critical Path
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
======================================================================*/
package net.cp.jlibical;
public class ICalPeriodType
{
public ICalPeriodType(long obj)
{
init(obj);
}
public ICalPeriodType()
{
}
public ICalPeriodType(long aStart, long aEnd, long aDuration)
{
init(aStart, aEnd, aDuration);
}
public void setStart(ICalTimeType lcl_arg0)
{
start = lcl_arg0;
}
public ICalTimeType getStart()
{
return start;
}
public void setEnd(ICalTimeType lcl_arg0)
{
end = lcl_arg0;
}
public ICalTimeType getEnd()
{
return end;
}
public void setDuration(ICalDurationType lcl_arg0)
{
duration = lcl_arg0;
}
public ICalDurationType getDuration()
{
return duration;
}
private void init(long aStart, long aEnd, long aDuration)
{
start = new ICalTimeType(aStart);
end = new ICalTimeType(aEnd);
duration = new ICalDurationType(aDuration);
}
private native void init(long obj);
private native static void initFIDs();
static {
System.loadLibrary("ical_jni");
initFIDs();
}
private ICalTimeType start = new ICalTimeType();
private ICalTimeType end = new ICalTimeType();
private ICalDurationType duration = new ICalDurationType();
}
|