114. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/21/2017 10:24:37 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

114.1 Files compared

# Location File Last Modified
1 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\VistaDataService\src\main\java\gov\va\med\rpc M.java Wed Jun 7 15:11:32 2017 UTC
2 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\VistaDataService\src\main\java\gov\va\med\rpc M.java Wed Jun 21 14:42:06 2017 UTC

114.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 106
Changed 1 2
Inserted 0 0
Removed 0 0

114.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

114.4 Active regular expressions

No regular expressions were active.

114.5 Comparison detail

  1   /*
  2    * Janus 4 .0 (c)
  3    * Copyrig ht (c) 201 3 Hawaii R esource Gr oup LLC. A ll Rights  Reserved.
  4    * Develop ed for the  Pacific T elehealth  & Technolo gy Hui and  the Pacif ic Joint I nformation  Technolog y Center
  5    * Contrib utors:
  6    *      Ho norable Se nator Dani el K. Inou ye
  7    *      VA  Pacific I slands Hea lth Care S ystem
  8    *      Tr ipler Army  Medical C enter
  9    */
  10    
  11    
  12   package go v.va.med.r pc;
  13  
  14   import jav a.text.Dat eFormat;
  15   import jav a.text.Par seExceptio n;
  16   import jav a.text.Sim pleDateFor mat;
  17   import jav a.util.Dat e;
  18   import jav a.util.Loc ale;
  19  
  20   /**
  21    *
  22    * @author   R E D AC TED
  23    */
  24   public cla ss M {
  25       public  static St ring getPi ece(int pi eceNumber,  String in put) {
  26           re turn Strin gUtils.pie ce(input,  pieceNumbe r);
  27       }
  28       
  29       public  static St ring getPi ece(String  delimiter , int piec eNumber, S tring inpu t)
  30       {
  31           re turn Strin gUtils.pie ce(input,  delimiter,  pieceNumb er);
  32       }
  33       
  34       public  static Da te fileman DateToDate (String in filemanDat e) throws  ParseExcep tion {
  35           Da teFormat f ormatter =  null;
  36           St ring filem anDate = i nfilemanDa te.trim();
  37           
  38           if  ("MAR 01,  2011@01:0 0".length( ) == filem anDate.len gth()) {
  39                formatte r = new Si mpleDateFo rmat("MMM  dd, yyyy@H H:mm", Loc ale.getDef ault());
  40           }   else if ( "FEB 23, 2 011@06:08: 03".length () == file manDate.le ngth()) {
  41                formatte r = new Si mpleDateFo rmat("MMM  dd, yyyy@H H:mm:ss",  Locale.get Default()) ;
  42           }  else {
  43                throw ne w ParseExc eption("Un able to id entify fil eman outpu t pattern" , 0);
  44           }
  45           
  46           re turn forma tter.parse (filemanDa te);
  47       }
  48       
  49       public  static Da te stringT oDate(Stri ng indate,  String da tePattern)  throws Pa rseExcepti on {
  50           St ring date  = indate.t rim();
  51           Da teFormat f ormatter =  new Simpl eDateForma t(datePatt ern, Local e.getDefau lt());
  52           re turn forma tter.parse (date);
  53       }
  54   }