All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

public class  RawDate
     extends java.lang.Object
{
          // Constructors 1
     public RawDate(int, int, int, int, int, int);

          // Methods 7
     public int getDay();
     public int getHour();
     public int getMinute();
     public int getMonth();
     public int getSecond();
     public int getYear();
     public String toString();
}

Stores a date in raw format:

This class is immutable.

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


  Cross Reference

Returned By:
DateBundle.getRawDate()





  Constructors

· RawDate

Summary  |  Top
   public RawDate(int yr, 
                  int mo, 
                  int dy, 
                  int hh, 
                  int mm, 
                  int ss) 

Construct from a year, month, day, hour, minute, and second. If ( year < 1 || year > 1000000 ), it will be set to 1970. If any of the other values are out of range, they will be set to be within the values given above.



  Methods

· getYear

Summary  |  Top
   public int getYear() 

Return the year. This will have the meaning given above.



· getMonth

Summary  |  Top
   public int getMonth() 

Return the month. This will have the meaning given above.



· getDay

Summary  |  Top
   public int getDay() 

Return the day. This will have the meaning given above.



· getHour

Summary  |  Top
   public int getHour() 

Return the hour. This will have the meaning given above.



· getMinute

Summary  |  Top
   public int getMinute() 

Return the minute. This will have the meaning given above.



· getSecond

Summary  |  Top
   public int getSecond() 

Return the second. This will have the meaning given above.



· 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