com.rational.test.ft.script

Class Date



  • public class Date
    extends Subitem
    Adds definition to Date. Date represents the date as an integer value in MM, DD, YYYY format.
    Since:
    RFT1.1
    • Constructor Summary

      Constructors 
      Constructor and Description
      Date(int mm, int yyyy) 
      Date(int mm, int dd, int yyyy) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Compares Date values.
      int GetDay()
      Accesses the Day value.
      int GetMonth()
      Accesses the Month value.
      int GetYear()
      Accesses the Year value.
      java.lang.String toString()
      Sets toString to the value that this class represents.
      java.lang.String ToString()
      Sets toString to the value that this class represents.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Date

        public Date(int mm,
                    int dd,
                    int yyyy)
      • Date

        public Date(int mm,
                    int yyyy)
    • Method Detail

      • GetMonth

        public int GetMonth()
        Accesses the Month value.
        Since:
        RFT1.1
      • GetDay

        public int GetDay()
        Accesses the Day value.
        Since:
        RFT1.1
      • GetYear

        public int GetYear()
        Accesses the Year value.
        Since:
        RFT1.1
      • equals

        public boolean equals(java.lang.Object obj)
        Compares Date values.
        Overrides:
        equals in class java.lang.Object
        Since:
        RFT1.1
      • ToString

        public java.lang.String ToString()
        Sets toString to the value that this class represents.
        Since:
        RFT1.1
      • toString

        public java.lang.String toString()
        Sets toString to the value that this class represents.
        Overrides:
        toString in class java.lang.Object
        Since:
        RFT1.1