Show
Ignore:
Timestamp:
06/09/08 07:11:23 (6 months ago)
Author:
magi@…
Message:

Merged [4748] from trunk to 5.2 branch: Fixes #1756 (time reverted to current when changing date)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/5.2/src/com/itmill/toolkit/terminal/gwt/client/ui/IDateField.java

    r4531 r4789  
    156156    } 
    157157 
     158    public int getShowingMilliseconds() { 
     159        return (int) (showingDate.getTime() - showingDate.getTime() / 1000 * 1000); 
     160    } 
     161 
     162    public void setShowingMilliseconds(int ms) { 
     163        showingDate.setTime(showingDate.getTime() / 1000 * 1000 + ms); 
     164    } 
     165 
    158166    public int getCurrentResolution() { 
    159167        return currentResolution;