|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Java packages for calendars?Can anyone recommend a Java package for calendar computations and
conversions and extension? The standard java.util.Calendar is of course inadequate and too much Gregorian. I have the package that Hannu Väisänen posted a few years ago (http://joyds1.joensuu.fi/ calendar/index.html). It is very extensive (maybe more than I need), but ageing (2005) and it does not compile rightaway so would need a lot of work. -- Tom Peters |
|
|
Re: Java packages for calendars?Dear Tom and Calendar People
Tom had somehow got a space character in the link http://joyds1.joensuu.fi/calendar/index.html now the link works. The package would be more useful if it implemented the java.util.Calendar interface. Karl 10(14(11 -----Original Message----- From: East Carolina University Calendar discussion List [mailto:CALNDR-L@...] On Behalf Of Tom Peters Sent: 26 October 2009 21:45 To: CALNDR-L@... Subject: Java packages for calendars? Can anyone recommend a Java package for calendar computations and conversions and extension? The standard java.util.Calendar is of course inadequate and too much Gregorian. I have the package that Hannu Väisänen posted a few years ago (http://joyds1.joensuu.fi/ calendar/index.html). It is very extensive (maybe more than I need), but ageing (2005) and it does not compile rightaway so would need a lot of work. -- Tom Peters -- Scanned by iCritical. |
|
|
Re: Java packages for calendars?> I have the package that
> Hannu Väisänen posted a few years ago (http://joyds1.joensuu.fi/ > calendar/index.html). It is very extensive (maybe more than I need), > but ageing (2005) and it does not compile rightaway so would need a > lot of work. What error message(s) do you get? Maybe I release a new version of the package. (-: |
|
|
Betr: Re: Java packages for calendars?>-- Oorspronkelijk bericht --
>Date: Thu, 29 Oct 2009 15:11:33 +0200 >Reply-To: East Carolina University Calendar discussion List > <CALNDR-L@...> >From: Hannu Väisänen <hvaisane@...> >Subject: Re: Java packages for calendars? >To: CALNDR-L@... > > >> I have the package that >> Hannu Väisänen posted a few years ago (http://joyds1.joensuu.fi/ >> calendar/index.html). It is very extensive (maybe more than I need), > >> but ageing (2005) and it does not compile rightaway so would need a >> lot of work. > >What error message(s) do you get? Maybe I release a new version of the >package. (-: I imported the packages into Eclipse. When validating, I got 1707 warnings. Warnings are things like: "The serializable class ArmenianCalendar does not declare a static final serialVersionUID field of type long" Also some errors at build&run, apparently Eclipse does not like that a class A exists in a package that is not called "a". |
|
|
Re: Java packages for calendars?----- Original Message -----
From: "Hannu Väisänen" <hvaisane@...> To: <CALNDR-L@...> Sent: Thursday, October 29, 2009 2:11 PM Subject: Re: Java packages for calendars? >> I have the package that >> Hannu Väisänen posted a few years ago (http://joyds1.joensuu.fi/ >> calendar/index.html). It is very extensive (maybe more than I need), >> but ageing (2005) and it does not compile rightaway so would need a >> lot of work. > > What error message(s) do you get? Maybe I release a new version of the > package. (-: > Another point of consideration: The Väisänen routines are partly based on GNU Emacs. I don't know how up to date the GNU Emacs calendar routines are, but if they are the same as the original Reingold routines from the eighties, then an update really should be considered. Oscar van Vlijmen |
|
|
Re: Java packages for calendars?> The Väisänen routines are partly based on GNU Emacs.
> I don't know how up to date the GNU Emacs calendar routines are, but if they > are the same as the original Reingold routines from the eighties, then an > update really should be considered. My GNU Emacs code has not ever been revised; but it is the only code freely distributed under the GNU license. The code from CC is much better, but requires a license for for-profit use (it is freely available for non-profit use). |
|
|
Re: Betr: Re: Java packages for calendars?On Thu, Oct 29, 2009 at 03:20:54PM +0100, Tom Peters wrote:
> I imported the packages into Eclipse. When validating, I got 1707 warnings. > Warnings are things like: > "The serializable class ArmenianCalendar does not declare a static final > serialVersionUID field of type long" Unfortunately I can not help you since I don't use Eclipse. > Also some errors at build&run, apparently Eclipse does not like that a class > A exists in a package that is not called "a". Huh? Do you mean 'a class A exists in a FILE that is not called "a"'? Are you on Windows? On Linux, a class A must be in a file named A.java; i.e. names are case-sensitive. |
|
|
Re: Betr: Re: Java packages for calendars?On 2009 Oct 30, at 06:07 , Hannu Väisänen wrote:
I don't use it either, but anyhow Eclipse is free, open source, and downloadable from <http://www.eclipse.org/>. |
|
|
Re: Java packages for calendars?Op 29-okt-2009, om 13:39 heeft Karl Palmen het volgende geschreven:
> Dear Tom and Calendar People > > Tom had somehow got a space character in the link > http://joyds1.joensuu.fi/calendar/index.html That was your mail program wrapping the message to a short linelength. > now the link works. > > The package would be more useful if it implemented the > java.util.Calendar interface. That interface requires the definition of fields like JANUARY and Gregorian-related methods for all classes that implement it, which makes no sense for a general calendar. Like I wrote, too Gregorian- centric. > Karl > > 10(14(11 > -----Original Message----- > From: East Carolina University Calendar discussion List > [mailto:CALNDR-L@...] On Behalf Of Tom Peters > Sent: 26 October 2009 21:45 > To: CALNDR-L@... > Subject: Java packages for calendars? > > Can anyone recommend a Java package for calendar computations and > conversions and extension? The standard java.util.Calendar is of > course inadequate and too much Gregorian. I have the package that > Hannu Väisänen posted a few years ago (http://joyds1.joensuu.fi/ > calendar/index.html). It is very extensive (maybe more than I need), > but ageing (2005) and it does not compile rightaway so would need a > lot of work. > > -- > Tom Peters -- Tom Peters |
| Free embeddable forum powered by Nabble | Forum Help |