Produced by Araxis Merge on 12/13/2018 10:35:23 AM 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 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\model\report\scheduled | FixedDateType.java | Fri Dec 7 17:36:44 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\model\report\scheduled | FixedDateType.java | Thu Dec 13 15:05:36 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 122 |
| 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.med.c cht.model. report.sch eduled; | |
| 2 | ||
| 3 | import jav a.util.Cal endar; | |
| 4 | ||
| 5 | import gov .va.med.fw .model.loo kup.Lookup ; | |
| 6 | ||
| 7 | /** | |
| 8 | * These r epresent a fixed dat e inside a greater d ate range (specifica lly the | |
| 9 | * values in MultiDa yTimeUnitT ype). | |
| 10 | * | |
| 11 | * @author DNS | |
| 12 | */ | |
| 13 | public enu m FixedDat eType impl ements Loo kup { | |
| 14 | FI RST("First ", new Cal endarSette r() { | |
| 15 | publ ic void se t(Calendar c, int fi eld) { | |
| 16 | c.set( field, 1); | |
| 17 | } | |
| 18 | }) , | |
| 19 | SE COND("Seco nd", new C alendarSet ter() { | |
| 20 | publ ic void se t(Calendar c, int fi eld) { | |
| 21 | c.set( field, 2); | |
| 22 | } | |
| 23 | }) , | |
| 24 | FI FTEENTH("1 5th", new CalendarSe tter() { | |
| 25 | publ ic void se t(Calendar c, int fi eld) { | |
| 26 | c.set( field, 15) ; | |
| 27 | } | |
| 28 | }) , | |
| 29 | LA ST("Last", new Calen darSetter( ) { | |
| 30 | publ ic void se t(Calendar c, int fi eld) { | |
| 31 | c.set( field, c.g etActualMa ximum(fiel d)); | |
| 32 | } | |
| 33 | }) ; | |
| 34 | ||
| 35 | pr ivate Stri ng name; | |
| 36 | pr ivate Cale ndarSetter calendarS etter; | |
| 37 | ||
| 38 | pr ivate Fixe dDateType( String nam e, Calenda rSetter ca lendarSett er) { | |
| 39 | this .name = na me; | |
| 40 | this .calendarS etter = ca lendarSett er; | |
| 41 | } | |
| 42 | ||
| 43 | pu blic Strin g getName( ) { | |
| 44 | retu rn name; | |
| 45 | } | |
| 46 | ||
| 47 | pu blic Strin g getCode( ) { | |
| 48 | retu rn name(); | |
| 49 | } | |
| 50 | ||
| 51 | pu blic Strin g getDescr iption() { | |
| 52 | retu rn getName (); | |
| 53 | } | |
| 54 | ||
| 55 | pu blic void setCalenda r(Calendar c, int fi eld) { | |
| 56 | cale ndarSetter .set(c, fi eld); | |
| 57 | } | |
| 58 | ||
| 59 | pr ivate stat ic interfa ce Calenda rSetter { | |
| 60 | void set(Calen dar c, int field); | |
| 61 | } | |
| 62 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.