Subversion Repository Public Repository

litesoft

Diff Revisions 941 vs 942 for /trunk/Java/core/Anywhere/tests/org/litesoft/core/simpletypes/temporal/UtilDateAdaptorTest.java

Diff revisions: vs.
  @@ -150,39 +150,28 @@
150 150
151 151 private void chkRT( int pYear, int pMonth, int pDay, int pHour )
152 152 {
153 - chkRT( TimeRes.ToHOUR, TemporalResolution.ToHour, //
153 + chkRT( TemporalResolution.ToHour, //
154 154 UtilDateAdaptor.currentWall( pYear, pMonth, pDay, pHour ) );
155 155 }
156 156
157 157 private void chkRT( int pYear, int pMonth, int pDay, int pHour, int pMin )
158 158 {
159 - chkRT( TimeRes.ToMIN, TemporalResolution.ToMin, //
159 + chkRT( TemporalResolution.ToMin, //
160 160 UtilDateAdaptor.currentWall( pYear, pMonth, pDay, pHour, pMin ) );
161 161 }
162 162
163 163 private void chkRT( int pYear, int pMonth, int pDay, int pHour, int pMin, int pSec )
164 164 {
165 - chkRT( TimeRes.ToSEC, TemporalResolution.ToSec, //
165 + chkRT( TemporalResolution.ToSec, //
166 166 UtilDateAdaptor.currentWall( pYear, pMonth, pDay, pHour, pMin, pSec ) );
167 167 }
168 168
169 169 private void chkRT( int pYear, int pMonth, int pDay, int pHour, int pMin, int pSec, int pMilliSec )
170 170 {
171 - chkRT( TimeRes.ToMSEC, TemporalResolution.ToMilliSec, //
171 + chkRT( TemporalResolution.ToMilliSec, //
172 172 UtilDateAdaptor.currentWall( pYear, pMonth, pDay, pHour, pMin, pSec, pMilliSec ) );
173 173 }
174 174
175 - private void chkRT( TimeRes pTimeRes, TemporalResolution pTemporalResolution, UtilDateAdaptor pOrigAdaptor )
176 - {
177 - Date date = pOrigAdaptor.getWallDate();
178 - UtilDateAdaptor zRT_Adaptor = new UtilDateAdaptor( date, pTemporalResolution );
179 -
180 - assertEquals( "TimeRes", pTimeRes, pOrigAdaptor.getTimeRes() );
181 - assertEquals( "TimeRes", pTimeRes, zRT_Adaptor.getTimeRes() );
182 -
183 - chkRT( pTemporalResolution, pOrigAdaptor, zRT_Adaptor );
184 - }
185 -
186 175 private void chkRT( TemporalResolution pTemporalResolution, UtilDateAdaptor pOrigAdaptor )
187 176 {
188 177 Date date = pOrigAdaptor.getWallDate();