Subversion Repository Public Repository

litesoft

Diff Revisions 865 vs 866 for /trunk/Java/deprecated/src/org/litesoft/deprecated/LL_UtilDateAdaptor.java

Diff revisions: vs.
  @@ -8,14 +8,14 @@
8 8 public class LL_UtilDateAdaptor
9 9 {
10 10 protected final int mUTCtoWallOffsetMinutes; // 0 = UTC, -600 = HT (Hawaii Time or more formally: HST = Alaska-Hawaii Standard Time)
11 - protected final int mTimeFields; // 0 = Year, 1 = Year & Month, 2 = Year - Day, 3 = Year - Hour, 4 = Year - Min, 5 = Year - Sec, 6 = Year - MilliSec
11 + protected final int mTemporalFields; // 0 = Year, 1 = Year & Month, 2 = Year - Day, 3 = Year - Hour, 4 = Year - Min, 5 = Year - Sec, 6 = Year - MilliSec
12 12 protected final int mYear, mMonth, mDay, mHour, mMin, mSec, mMilliSec;
13 13
14 - protected LL_UtilDateAdaptor( int pUTCtoWallOffsetMinutes, int pTimeFields, //
14 + protected LL_UtilDateAdaptor( int pUTCtoWallOffsetMinutes, int pTemporalFields, //
15 15 int pYear, int pMonth, int pDay, int pHour, int pMin, int pSec, int pMilliSec )
16 16 {
17 17 mUTCtoWallOffsetMinutes = pUTCtoWallOffsetMinutes;
18 - mTimeFields = pTimeFields;
18 + mTemporalFields = pTemporalFields;
19 19 mYear = pYear;
20 20 mMonth = (pMonth != 0) ? pMonth : 1;
21 21 mDay = (pDay != 0) ? pDay : 1;
  @@ -25,7 +25,7 @@
25 25 mMilliSec = pMilliSec;
26 26 }
27 27
28 - protected LL_UtilDateAdaptor( Date pWallDate, int pTimeFields )
28 + protected LL_UtilDateAdaptor( Date pWallDate, int pTemporalFields )
29 29 {
30 30 mUTCtoWallOffsetMinutes = pWallDate.getTimezoneOffset();
31 31 int dMonth = 1;
  @@ -34,7 +34,7 @@
34 34 int dMin = 0;
35 35 int dSec = 0;
36 36 int dMilliSec = 0;
37 - switch ( mTimeFields = pTimeFields )
37 + switch ( mTemporalFields = pTemporalFields )
38 38 {
39 39 case 6:
40 40 long zMillisSinceEpoch = pWallDate.getTime();