axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamas Hauer <tamas.ha...@cern.ch>
Subject org.apache.axis.types.Time problem
Date Thu, 24 Jul 2003 22:13:35 GMT
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


Mime
View raw message