Kaydet (Commit) bb0c4dce authored tarafından Malte Timmermann's avatar Malte Timmermann

solaris...

üst 9b12c473
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: resourcemanager.cxx,v $ * $RCSfile: resourcemanager.cxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: gt $ $Date: 2004-07-15 06:20:09 $ * last change: $Author: mt $ $Date: 2004-07-15 10:52:35 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -111,17 +111,18 @@ namespace XmlSec ...@@ -111,17 +111,18 @@ namespace XmlSec
String GetDateTimeString( const rtl::OUString& _rDate, const rtl::OUString& _rTime ) String GetDateTimeString( const rtl::OUString& _rDate, const rtl::OUString& _rTime )
{ {
Date aDate( String sDay( _rDate, 6, 2 );
USHORT( String( _rDate, 6, 2 ).ToInt32() ), String sMonth( _rDate, 4, 2 );
USHORT( String( _rDate, 4, 2 ).ToInt32() ), String sYear( _rDate, 0, 4 );
USHORT( String( _rDate, 0, 4 ).ToInt32() ) );
Time aTime( String sHour( _rTime, 0, 2 );
USHORT( String( _rTime, 0, 2 ).ToInt32() ), String sMin( _rTime, 4, 2 );
USHORT( String( _rTime, 4, 2 ).ToInt32() ), String sSec( _rTime, 6, 2 );
USHORT( String( _rTime, 6, 2 ).ToInt32() ),
// USHORT( String( _rTime, 8, 2 ).ToInt32() ) );
0 ); Date aDate( sDay.ToInt32(), sMonth.ToInt32(), sYear.ToInt32() );
String aStr( GetInternational()->GetDate( aDate ) ); Time aTime( sHour.ToInt32(), sMin.ToInt32(), sSec.ToInt32(), 0 );
String aStr( GetInternational()->GetDate( aDate ) );
aStr.AppendAscii( " " ); aStr.AppendAscii( " " );
aStr += GetInternational()->GetTime( aTime ); aStr += GetInternational()->GetTime( aTime );
return aStr; return aStr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment