ASM #648 fix for the top of the hour issue for hourlypp
Change-Id: I794837427ee6f8dbc615cbd010aeb662ccad9896 Former-commit-id:6afc985ebe
[formerly0933440c37
] [formerly42719b2d5b
] [formerly6afc985ebe
[formerly0933440c37
] [formerly42719b2d5b
] [formerlybca2affc40
[formerly42719b2d5b
[formerly 2d36b1b9ed31404ca9c9a4ecfdbf5f1e40c05b54]]]] Former-commit-id:bca2affc40
Former-commit-id:712693b03e
[formerly5095489f7c
] [formerly 8e00ae9dd92173bc9cb7679419bf65ec758d7800 [formerlye5daf9e060
]] Former-commit-id: 05be3380860a856feb99cd7e96af22b9f218006a [formerlyd33f4a4140
] Former-commit-id:9ed5d0d705
This commit is contained in:
parent
05364e6f78
commit
be9b7a1312
1 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,7 @@ import com.raytheon.uf.edex.decodertools.time.TimeTools;
|
|||
* 02 Feb 2012 #15845 lbousaidi added check for data that comes in as -999
|
||||
* 07 May 2013 #15880 lbousaidi changed pPE parameter because it was inserting to the
|
||||
* wrong hour field.
|
||||
* 15 Sep 2014 #17129 lbousaidi add a fix for the top of hour issue for hourlypp.
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
|
@ -563,7 +564,7 @@ public class GagePP {
|
|||
|
||||
if (rec.getPhysicalElement().getCode().charAt(1) == 'C'
|
||||
&& minute >= MINUTES_PER_HOUR - pOptions.getIntpc()
|
||||
|| (pPE.charAt(1) == 'P'
|
||||
|| (rec.getPhysicalElement().getCode().charAt(1) == 'P'
|
||||
&& minute >= MINUTES_PER_HOUR - pOptions.getIntlppp())) {
|
||||
hour++;
|
||||
dt.add(Calendar.HOUR_OF_DAY, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue