All Packages  This Package  Class Hierarchy  Class Search  Index

Class COM.tolstoy.jconfig.DateBundle
java.lang.Object
   |
   +----COM.tolstoy.jconfig.DateBundle

  Summary

public class  DateBundle
     extends java.lang.Object
{
          // Fields 4
     public static final int kAccessDate;
     public static final int kBackupDate;
     public static final int kCreationDate;
     public static final int kModificationDate;

          // Constructors 2
     public DateBundle();
     public DateBundle(RawDate, RawDate, RawDate, RawDate);

          // Methods 3
     public RawDate getRawDate(int);
     public boolean setDate(int, RawDate);
     public String toString();
}

Used to contain zero or more RawDate objects. You can get and set the modification, creation, backup, and access dates.

Author:
Copyright (c) 1997,1998 Samizdat Productions. All Rights Reserved.


  Cross Reference

Returned By:
DiskObject.getDateBundle()





  Fields

· kModificationDate

Summary  |  Top
   public static final int kModificationDate


· kCreationDate

Summary  |  Top
   public static final int kCreationDate


· kBackupDate

Summary  |  Top
   public static final int kBackupDate


· kAccessDate

Summary  |  Top
   public static final int kAccessDate


  Constructors

· DateBundle

Summary  |  Top

   public DateBundle() 

Construct with all the dates set to null.



· DateBundle

Summary  |  Top
   public DateBundle(RawDate mdDate, 
                     RawDate crDate, 
                     RawDate bkDate, 
                     RawDate acDate) 

Construct from a series of RawDate objects. Any of these can be null.



  Methods

· getRawDate

Summary  |  Top
   public RawDate getRawDate(int which) 

Return the indicated date. 'which' must be one of the constants defined above. This method returns null if 'which' is out of bounds, or if the give date is null.



· setDate

Summary  |  Top
   public boolean setDate(int which, 
                          RawDate rd) 

Set the indicated date. 'which' must be one of the constants defined above. Returns true if the date was set, false otherwise.



· toString

Summary  |  Top
   public String toString() 
Overrides:
toString in class Object


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7