litesoft
Diff Revisions
854
vs
855
for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/TypeConverter.java
|
@@ -264,8 +264,8 @@ |
264 |
264 |
|
return Money.fromString( pSC, pObject.toString() ); |
265 |
265 |
|
} |
266 |
266 |
|
|
267 |
|
- |
public static SimpleFixedPointLong to_SimpleFixedPointLong( int pDecimalPlaces, // |
268 |
|
- |
NumericFormatControl pFormatControl, Object pObject ) |
|
267 |
+ |
public static FixedPointLong to_FixedPointLong( int pDecimalPlaces, // |
|
268 |
+ |
NumericFormatControl pFormatControl, Object pObject ) |
269 |
269 |
|
{ |
270 |
270 |
|
if ( pDecimalPlaces < 0 ) |
271 |
271 |
|
{ |
|
@@ -276,25 +276,25 @@ |
276 |
276 |
|
{ |
277 |
277 |
|
return null; |
278 |
278 |
|
} |
279 |
|
- |
if ( pObject instanceof SimpleFixedPointLong ) |
|
279 |
+ |
if ( pObject instanceof FixedPointLong ) |
280 |
280 |
|
{ |
281 |
|
- |
return SimpleFixedPointLong.getInstance( pDecimalPlaces, pFormatControl, (SimpleFixedPointLong) pObject ); |
|
281 |
+ |
return FixedPointLong.getInstance( pDecimalPlaces, pFormatControl, (FixedPointLong) pObject ); |
282 |
282 |
|
} |
283 |
|
- |
return SimpleFixedPointLong.fromString( pDecimalPlaces, pFormatControl, pObject.toString() ); |
|
283 |
+ |
return FixedPointLong.fromString( pDecimalPlaces, pFormatControl, pObject.toString() ); |
284 |
284 |
|
} |
285 |
285 |
|
|
286 |
|
- |
public static SimpleFloatingPointLong to_SimpleFloatingPointLong( NumericFormatControl pFormatControl, Object pObject ) |
|
286 |
+ |
public static FloatingPointLong to_FloatingPointLong( NumericFormatControl pFormatControl, Object pObject ) |
287 |
287 |
|
{ |
288 |
288 |
|
Objects.assertNotNull( "NumericFormatControl", pFormatControl ); |
289 |
289 |
|
if ( null == pObject ) |
290 |
290 |
|
{ |
291 |
291 |
|
return null; |
292 |
292 |
|
} |
293 |
|
- |
if ( pObject instanceof SimpleFloatingPointLong ) |
|
293 |
+ |
if ( pObject instanceof FloatingPointLong ) |
294 |
294 |
|
{ |
295 |
|
- |
return SimpleFloatingPointLong.getInstance( pFormatControl, (SimpleFloatingPointLong) pObject ); |
|
295 |
+ |
return FloatingPointLong.getInstance( pFormatControl, (FloatingPointLong) pObject ); |
296 |
296 |
|
} |
297 |
|
- |
return SimpleFloatingPointLong.fromString( pFormatControl, pObject.toString() ); |
|
297 |
+ |
return FloatingPointLong.fromString( pFormatControl, pObject.toString() ); |
298 |
298 |
|
} |
299 |
299 |
|
|
300 |
300 |
|
public static SimpleTime to_SimpleTime( Object pObject ) |