Subversion Repository Public Repository

litesoft

Diff Revisions 862 vs 864 for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/temporal/SimpleTimestamp.java

Diff revisions: vs.
  @@ -229,24 +229,24 @@
229 229 switch ( mTime.getResolutionIndex() )
230 230 {
231 231 case TimeRes.HOURindex:
232 - return new UtilDateAdaptor( mYear, mMonth, mDay, //
233 - mTime.getHour() );
232 + return UtilDateAdaptor.currentWall( mYear, mMonth, mDay, //
233 + mTime.getHour() );
234 234 case TimeRes.MINindex:
235 - return new UtilDateAdaptor( mYear, mMonth, mDay, //
236 - mTime.getHour(), //
237 - mTime.getMin() );
235 + return UtilDateAdaptor.currentWall( mYear, mMonth, mDay, //
236 + mTime.getHour(), //
237 + mTime.getMin() );
238 238 case TimeRes.SECindex:
239 - return new UtilDateAdaptor( mYear, mMonth, mDay, //
240 - mTime.getHour(), //
241 - mTime.getMin(), //
242 - mTime.getSec() );
239 + return UtilDateAdaptor.currentWall( mYear, mMonth, mDay, //
240 + mTime.getHour(), //
241 + mTime.getMin(), //
242 + mTime.getSec() );
243 243 case TimeRes.MSECindex:
244 244 default:
245 - return new UtilDateAdaptor( mYear, mMonth, mDay, //
246 - mTime.getHour(), //
247 - mTime.getMin(), //
248 - mTime.getSec(), //
249 - mTime.getMilliSec() );
245 + return UtilDateAdaptor.currentWall( mYear, mMonth, mDay, //
246 + mTime.getHour(), //
247 + mTime.getMin(), //
248 + mTime.getSec(), //
249 + mTime.getMilliSec() );
250 250 }
251 251 }
252 252