Sujet : Re: VMS Software Bootcamp 2024
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 18. Sep 2024, 02:35:18
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vcdaom$3opij$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Mozilla Thunderbird
On 9/17/2024 9:24 PM, Lawrence D'Oliveiro wrote:
On Tue, 17 Sep 2024 21:02:12 -0400, Arne Vajhøj wrote:
The old stuff is pretty straightforward.
All I know is, when I looked at it some years ago, there was a class
*every single method of which is deprecated*. I assumed that class was no
longer useful, until I found it referenced all over the place in newer API
calls.
It took a while for me to realize: all the original methods of that class
were not useful any more, but the class itself was still being created/
manipulated via methods in the newer classes.
That is not the old stuff - that is the very old stuff.
:-)
In Java 1.0 the Date class did everything: point in time, conversion
between point in time and time components, conversion between binary
and text representation.
That was changed in Java 1.1 released in 1997 when
Calendar/GregorianCalendar and DateFormat/SimpleDateFormat
was introduced.
After that Date is only representing point in time (C time_t). And
most methods was deprecated. Not all - there are a few left - most
important getTime and setTime.
Arne