diff options
author | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-09-12 06:04:44 +0800 |
commit | 697761cc337aa77a47140c8df50ed84bc25e23f6 (patch) | |
tree | b785830f72e9938cceaa016a419c7b6d9892bada /libical/src/java/ICalPeriodType.java | |
parent | 733d77e657516f9a59b5c1a7b62acb87b03ec86f (diff) | |
download | gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.gz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.bz2 gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.lz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.xz gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.tar.zst gsoc2013-evolution-697761cc337aa77a47140c8df50ed84bc25e23f6.zip |
Import new libical from mainline HEAD and make appropriate changes to
Evolution.
svn path=/trunk/; revision=22538
Diffstat (limited to 'libical/src/java/ICalPeriodType.java')
-rw-r--r-- | libical/src/java/ICalPeriodType.java | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/libical/src/java/ICalPeriodType.java b/libical/src/java/ICalPeriodType.java new file mode 100644 index 0000000000..204ff2a141 --- /dev/null +++ b/libical/src/java/ICalPeriodType.java @@ -0,0 +1,71 @@ +/*====================================================================== + FILE: ICalPeriodType.java + CREATOR: structConverter 01/11/02 +======================================================================*/ + +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(); +} + |