de.fhg.igd.earth.utils
Class TimeStamp

java.lang.Object
  extended byde.fhg.igd.earth.utils.TimeStamp
All Implemented Interfaces:
Cloneable, Serializable

public class TimeStamp
extends Object
implements Cloneable, Serializable

This class represents a timestamp. While creation the timestamp will be setted to the current time. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel
See Also:
Serialized Form

Field Summary
private  int hour_
          hour
private  int minute_
          minute
private  int second_
          second
 
Constructor Summary
TimeStamp()
          Creates an instance of this class (the timestamp will be the current time)
 
Method Summary
 Object clone()
          Clones this object
 String getString()
          Converts the timestamp into a string (format: 14:37:05)
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hour_

private int hour_
hour


minute_

private int minute_
minute


second_

private int second_
second

Constructor Detail

TimeStamp

public TimeStamp()
Creates an instance of this class (the timestamp will be the current time)

Method Detail

getString

public String getString()
Converts the timestamp into a string (format: 14:37:05)

Returns:
timestamp string

clone

public Object clone()
Clones this object



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.