Produced by Araxis Merge on 2/7/2017 12:14:08 PM Eastern 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 | cpss.zip\cpss\src\main\java\gov\va\cpss\time | TimeUtils.java | Wed Feb 1 21:07:26 2017 UTC |
2 | cpss.zip\cpss\src\main\java\gov\va\cpss\time | TimeUtils.java | Mon Feb 6 15:24:52 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 D N S | |
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.