[Info-vax] VMS Software Bootcamp 2024

Arne Vajhøj arne at vajhoej.dk
Tue Sep 17 21:35:18 EDT 2024


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



More information about the Info-vax mailing list