Class DateAndTime

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class DateAndTime
    extends java.lang.Object
    implements java.lang.Cloneable
    This class is used to represent a date and time in a Word document.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int SIZE  
    • Constructor Summary

      Constructors 
      Constructor Description
      DateAndTime()  
      DateAndTime​(byte[] buf, int offset)  
    • Constructor Detail

      • DateAndTime

        public DateAndTime()
      • DateAndTime

        public DateAndTime​(byte[] buf,
                           int offset)
    • Method Detail

      • getDate

        public java.util.Calendar getDate()
      • serialize

        public void serialize​(byte[] buf,
                              int offset)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • isEmpty

        public boolean isEmpty()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object