home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / Java / Pdapilot / appointment / AppBlock.java next >
Encoding:
Java Source  |  1997-08-05  |  451 b   |  28 lines

  1.  
  2. package Pdapilot.appointment;
  3.  
  4. import java.io.*;
  5.  
  6. public class AppBlock extends Pdapilot.CategoryAppBlock {
  7.     public int startOfWeek;
  8.         
  9.     public AppBlock() {
  10.         super();
  11.     }
  12.         
  13.     public AppBlock(byte[] contents) {
  14.         super(contents);
  15.     }
  16.     
  17.     public native void unpack(byte[] data);
  18.     public native byte[] pack();
  19.     
  20.     public void fill() {
  21.         startOfWeek = 0;
  22.     }
  23.         
  24.     public String describe() {
  25.         return "startOfWeek="+ startOfWeek +", " + super.describe();
  26.     }
  27. }
  28.