org.jaudiotagger.tag.datatype
Class StringDateTime

java.lang.Object
  extended by org.jaudiotagger.tag.datatype.AbstractDataType
      extended by org.jaudiotagger.tag.datatype.AbstractString
          extended by org.jaudiotagger.tag.datatype.TextEncodedStringSizeTerminated
              extended by org.jaudiotagger.tag.datatype.StringSizeTerminated
                  extended by org.jaudiotagger.tag.datatype.StringDateTime

public class StringDateTime
extends StringSizeTerminated

Represents a timestamp field


Field Summary
 
Fields inherited from class org.jaudiotagger.tag.datatype.AbstractDataType
frameBody, identifier, logger, size, TYPE_ELEMENT, value
 
Constructor Summary
StringDateTime(java.lang.String identifier, AbstractTagFrameBody frameBody)
          Creates a new ObjectStringDateTime datatype.
StringDateTime(StringDateTime object)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getValue()
          Get value held by this Object
 void setValue(java.lang.Object value)
          Set the value held by this datatype, this is used typically used when the user wants to modify the value in an existing frame.
 
Methods inherited from class org.jaudiotagger.tag.datatype.StringSizeTerminated
getTextEncodingCharSet
 
Methods inherited from class org.jaudiotagger.tag.datatype.TextEncodedStringSizeTerminated
addValue, getNumberOfValues, getValueAtIndex, readByteArray, writeByteArray
 
Methods inherited from class org.jaudiotagger.tag.datatype.AbstractString
canBeEncoded, getSize, setSize, toString
 
Methods inherited from class org.jaudiotagger.tag.datatype.AbstractDataType
createStructure, getBody, getIdentifier, readByteArray, setBody
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringDateTime

public StringDateTime(java.lang.String identifier,
                      AbstractTagFrameBody frameBody)
Creates a new ObjectStringDateTime datatype.

Parameters:
identifier -
frameBody -

StringDateTime

public StringDateTime(StringDateTime object)
Method Detail

setValue

public void setValue(java.lang.Object value)
Description copied from class: AbstractDataType
Set the value held by this datatype, this is used typically used when the user wants to modify the value in an existing frame.

Overrides:
setValue in class AbstractDataType
Parameters:
value -

getValue

public java.lang.Object getValue()
Description copied from class: AbstractDataType
Get value held by this Object

Overrides:
getValue in class AbstractDataType
Returns:

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class StringSizeTerminated
Returns:
whether this and obj are deemed equivalent