litesoft
Diff Revisions
941
vs
942
for /trunk/Java/core/Anywhere/tests/org/litesoft/core/simpletypes/temporal/SimpleTimeTest.java
|
@@ -1,6 +1,8 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.core.simpletypes.temporal; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.commonfoundation.typeutils.gregorian.*; |
|
5 |
+ |
|
4 |
6 |
|
import junit.framework.*; |
5 |
7 |
|
|
6 |
8 |
|
public class SimpleTimeTest extends TestCase |
|
@@ -182,7 +184,7 @@ |
182 |
184 |
|
|
183 |
185 |
|
private void chk_TC( String pExpectedString, UtilDateAdaptor pAdaptor ) |
184 |
186 |
|
{ |
185 |
|
- |
SimpleTime sd = SimpleTime.timeComponents( pAdaptor.getTimeRes(), pAdaptor.getWallDate() ); |
|
187 |
+ |
SimpleTime sd = SimpleTime.timeComponents( TimeRes.from( pAdaptor.getTemporalResolution() ), pAdaptor.getWallDate() ); |
186 |
188 |
|
assertEquals( pExpectedString, sd.toString() ); |
187 |
189 |
|
} |
188 |
190 |
|
|