Changeset 206
- Timestamp:
- 07/12/10 23:10:32 (2 months ago)
- branch-nick:
- gnome-split
- revision id:
- respawneral@gmail.com-20100712211032-b101y4j7z3b5i82e
- Location:
- src/org/gnome/split/core/utils
- Files:
-
- 2 modified
-
SizeUnit.java (modified) (1 diff)
-
Utils.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/org/gnome/split/core/utils/SizeUnit.java
r187 r206 50 50 * One CD-ROM. 51 51 */ 52 public static final double CDROM = 700 * MiB;52 public static final double CDROM = 700 * 1000000; 53 53 54 54 /** 55 * One DVD-ROM 55 * One DVD-ROM. 56 56 */ 57 public static final double DVDROM = 4.7 * GiB;57 public static final double DVDROM = 4.7 * 1000000000; 58 58 59 /** 60 * Get all the values using an array. 61 */ 59 62 private static final double[] values = { 60 63 KiB, MiB, GiB, CDROM, DVDROM -
src/org/gnome/split/core/utils/Utils.java
r162 r206 38 38 // just for a cosmetic purpose. It is the date on which Delphi's 39 39 // TDatetime type is based. 40 GregorianCalendar base = new GregorianCalendar(1899, 12, 30);41 GregorianCalendar time = new GregorianCalendar();40 final GregorianCalendar base = new GregorianCalendar(1899, 12, 30); 41 final GregorianCalendar time = new GregorianCalendar(); 42 42 43 43 // Start a 30 because there is one month of difference between
