litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package org.litesoft.rest.adapters;
import java.sql.*;
public class XmlToJavaBindingAdapterSQL
{
public static Date parseDate( String s )
{
return Date.valueOf( s );
}
public static String printDate( Date pSqlDate )
{
return pSqlDate.toString();
}
public static Time parseTime( String s )
{
return Time.valueOf( s );
}
public static String printTime( Time pSqlTime )
{
return pSqlTime.toString();
}
public static Timestamp parseTimestamp( String s )
{
return Timestamp.valueOf( s );
}
public static String printTimestamp( Timestamp pTimestamp )
{
return pTimestamp.toString();
}
}
|
Revision |
Author |
Commited |
Message |
793
|
GeorgeS
|
Sun 12 Aug, 2012 22:56:28 +0000 |
|