You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tamas Hauer <ta...@cern.ch> on 2003/07/25 00:13:35 UTC

org.apache.axis.types.Time problem

Hi All,

Is this normal behavior ?:

---------------------------------------------------------------------
org.apache.axis.types.Time value =
	new org.apache.axis.types.Time("12:34:45");
String timeString =
	( new java.text.SimpleDateFormat("HHmmss")).
		format( value.getAsCalendar().getTime() );
System.out.println( "The time is: " + timeString );
----------------------------------------------------------------------

The time is: 133445



Tamas


-- 
-------------------------------------------------------------------
--      Tamas Hauer          ETT Division, CERN
     Tamas.Hauer@cern.ch      Geneve 23 Switzerland 1211
  http://cern.ch/Tamas.Hauer  Tel:(41)-227679894  Fax:(41)-227678930