litesoft
Diff Revisions 865 vs 868 for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/temporal/SimpleTime.java
@@ -601,7 +601,7 @@ | |||
601 | 601 | ||
602 | 602 | public StandIn( int pResolutionIndex, Date pDate ) | |
603 | 603 | { | |
604 | - | inject( pResolutionIndex, new UtilDateAdaptor( pDate, pResolutionIndex + 3 ) ); | |
604 | + | inject( pResolutionIndex, new UtilDateAdaptor( pDate, TemporalResolution.values()[pResolutionIndex + 3] ) ); | |
605 | 605 | } | |
606 | 606 | ||
607 | 607 | public StandIn( UtilDateAdaptor pAdaptor ) |