Version: 1.1.1

org.inb.biomoby.shared.datatypes
Class MobyDateTime

java.lang.Object
  extended by org.inb.biomoby.shared.message.AbstractMobyElement
      extended by org.inb.biomoby.shared.message.AbstractMobyObject
          extended by org.inb.biomoby.shared.datatypes.MobyDateTime
All Implemented Interfaces:
Serializable, MobyPrimitive

public class MobyDateTime
extends AbstractMobyObject
implements MobyPrimitive, Serializable

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Constructor Summary
MobyDateTime()
           
MobyDateTime(long time)
           
MobyDateTime(String time)
           
 
Method Summary
 long getTime()
          Method returns the "UNIX" time in milliseconds.
 void setTime(long time)
           
 
Methods inherited from class org.inb.biomoby.shared.message.AbstractMobyObject
getMobyId, getNamespace, setMobyId, setNamespace, toString
 
Methods inherited from class org.inb.biomoby.shared.message.AbstractMobyElement
getArticleName, setArticleName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MobyDateTime

public MobyDateTime()

MobyDateTime

public MobyDateTime(long time)

MobyDateTime

public MobyDateTime(String time)
             throws ParseException
Throws:
ParseException
Method Detail

getTime

public long getTime()
Method returns the "UNIX" time in milliseconds.

Returns:
UTC milliseconds from the epoch.

setTime

public void setTime(long time)

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010