Produced by Araxis Merge on 6/9/2017 3:49:58 PM Eastern 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:49:58 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-common\src\main\java\gov\va\nvap\common\transformer\date | StringToDate.java | Fri Apr 21 20:03:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 24 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | package go v.va.nvap. common.tra nsformer.d ate; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.c ommon.date .DateUtil; | |||||
| 4 | import gov .va.nvap.c ommon.tran sformer.Tr ansformer; | |||||
| 5 | import gov .va.nvap.c ommon.tran sformer.Tr ansformerE xception; | |||||
| 6 | import gov .va.nvap.c ommon.vali dation.Nul lChecker; | |||||
| 7 | ||||||
| 8 | import jav a.util.Dat e; | |||||
| 9 | ||||||
| 10 | /** | |||||
| 11 | * Convert from a st ring to da te. Uses t he SimpleD ateFormat. | |||||
| 12 | * | |||||
| 13 | * @author Asha Amri traj | |||||
| 14 | */ | |||||
| 15 | public cla ss StringT oDate impl ements Tra nsformer<S tring, Dat e> { | |||||
| 16 | ||||||
| 17 | @O verride | |||||
| 18 | pu blic Date transform( final Stri ng src) th rows Trans formerExce ption { | |||||
| 19 | if ( NullChecke r.isEmpty( src)) { | |||||
| 20 | return null; | |||||
| 21 | } | |||||
| 22 | retu rn DateUti l.dateFrom String(src ); | |||||
| 23 | } | |||||
| 24 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.