Produced by Araxis Merge on 11/14/2017 6:57:21 AM Central Standard 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 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\time | TimeUtils.java | Thu Nov 9 14:19:42 2017 UTC |
| 2 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\time | TimeUtils.java | Tue Nov 14 12:27:21 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 56 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| 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.cpss. time; | |
| 2 | ||
| 3 | import jav a.text.Sim pleDateFor mat; | |
| 4 | import jav a.util.Dat e; | |
| 5 | ||
| 6 | /** | |
| 7 | * Static utilities relating t o time. | |
| 8 | * | |
| 9 | * @author DN S BROWNL | |
| 10 | */ | |
| 11 | public fin al class T imeUtils { | |
| 12 | ||
| 13 | pr ivate Time Utils() { | |
| 14 | } | |
| 15 | ||
| 16 | /* * | |
| 17 | * Get a tim estamp str ing using the specif ied format . | |
| 18 | * | |
| 19 | * @param fo rmat | |
| 20 | * The form at for the timestamp . | |
| 21 | * @return S tring time stamp for the curren t time. | |
| 22 | * / | |
| 23 | pu blic stati c String g etTimestam p(final St ring forma t) { | |
| 24 | Date date = ne w Date(); | |
| 25 | Simp leDateForm at sdf = n ew SimpleD ateFormat( format); | |
| 26 | retu rn sdf.for mat(date); | |
| 27 | } | |
| 28 | ||
| 29 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.