Class TimeRec

java.lang.Object
com.webcodepro.shrinkit.TimeRec

public class TimeRec extends Object
Apple IIgs Toolbox TimeRec object.
  • Constructor Details

    • TimeRec

      public TimeRec()
      Construct a TimeRec with the current date.
    • TimeRec

      public TimeRec(Date date)
      Construct a TimeRec with the specified date. You may pass in a null for a null date (all 0x00's).
    • TimeRec

      public TimeRec(byte[] bytes, int offset)
      Construct a TimeRec from the given LENGTH byte array.
    • TimeRec

      public TimeRec(InputStream inputStream) throws IOException
      Construct a TimeRec from the InputStream.
      Throws:
      IOException
  • Method Details

    • setDate

      public void setDate(Date date)
      Set the date.
    • getDate

      public Date getDate()
      Convert the TimeRec into a Java Date object. Note that years 1900-1939 are assumed to be 2000-2039 per the NuFX addendum.
      See Also:
    • getBytes

      public byte[] getBytes()