Produced by Araxis Merge on 10/26/2017 10:44:23 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 Oct 27 02:44:23 2017 UTC | ||
| 2 | OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\BMS.Vista.TestEis\BMS.Utils | TimeLists.cs | Wed Oct 18 18:47:02 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 91 |
| 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 | using Syst em; | |||||
| 2 | using Syst em.Collect ions.Gener ic; | |||||
| 3 | using Syst em.Linq; | |||||
| 4 | using Syst em.Text; | |||||
| 5 | ||||||
| 6 | namespace BMS.Utils | |||||
| 7 | { | |||||
| 8 | /// <s ummary> | |||||
| 9 | /// Ut ilities cl ass for di splaying h ours and m inutes usi ng two dig it format. | |||||
| 10 | /// </ summary> | |||||
| 11 | public class Tim eLists | |||||
| 12 | { | |||||
| 13 | st atic IList <String> _ secondList = Enumera ble.Range( 0, 60).Sel ect(x => x .ToString( "00")).ToL ist(); | |||||
| 14 | st atic IList <String> _ minuteList = Enumera ble.Range( 0, 60).Sel ect(x => x .ToString( "00")).ToL ist(); | |||||
| 15 | st atic IList <String> _ hourList = Enumerabl e.Range(0, 24).Selec t(x => x.T oString("0 0")).ToLis t(); | |||||
| 16 | ||||||
| 17 | pu blic stati c IList<st ring> Seco ndList | |||||
| 18 | { | |||||
| 19 | get | |||||
| 20 | { | |||||
| 21 | Date Time entry InLogMetho dTime = Da teTime.Utc Now; | |||||
| 22 | if ( InfoWorld. Tracing.IW Trace.IsEn tryEnabled ) | |||||
| 23 | { | |||||
| 24 | InfoWorld. Tracing.IW Trace.Entr y(System.R eflection. MethodBase .GetCurren tMethod(), entryInLo gMethodTim e); | |||||
| 25 | } | |||||
| 26 | try | |||||
| 27 | { | |||||
| 28 | return _se condList; | |||||
| 29 | } | |||||
| 30 | fina lly | |||||
| 31 | { | |||||
| 32 | if (InfoWo rld.Tracin g.IWTrace. IsExitEnab led) | |||||
| 33 | { | |||||
| 34 | InfoWo rld.Tracin g.IWTrace. Exit(Syste m.Reflecti on.MethodB ase.GetCur rentMethod (), DateTi me.UtcNow, entryInLo gMethodTim e); | |||||
| 35 | } | |||||
| 36 | } | |||||
| 37 | } | |||||
| 38 | } | |||||
| 39 | ||||||
| 40 | // / <summary > | |||||
| 41 | // / Gets the minute li st using t he two dig it format. | |||||
| 42 | // / </summar y> | |||||
| 43 | pu blic stati c IList<st ring> Minu teList | |||||
| 44 | { | |||||
| 45 | get | |||||
| 46 | { | |||||
| 47 | Date Time entry InLogMetho dTime = Da teTime.Utc Now; | |||||
| 48 | if ( InfoWorld. Tracing.IW Trace.IsEn tryEnabled ) | |||||
| 49 | { | |||||
| 50 | InfoWorld. Tracing.IW Trace.Entr y(System.R eflection. MethodBase .GetCurren tMethod(), entryInLo gMethodTim e); | |||||
| 51 | } | |||||
| 52 | try | |||||
| 53 | { | |||||
| 54 | return _mi nuteList; | |||||
| 55 | } | |||||
| 56 | fina lly | |||||
| 57 | { | |||||
| 58 | if (InfoWo rld.Tracin g.IWTrace. IsExitEnab led) | |||||
| 59 | { | |||||
| 60 | InfoWo rld.Tracin g.IWTrace. Exit(Syste m.Reflecti on.MethodB ase.GetCur rentMethod (), DateTi me.UtcNow, entryInLo gMethodTim e); | |||||
| 61 | } | |||||
| 62 | } | |||||
| 63 | } | |||||
| 64 | } | |||||
| 65 | // / <summary > | |||||
| 66 | // / Gets the hour list using the two digit format. | |||||
| 67 | // / </summar y> | |||||
| 68 | pu blic stati c IList<st ring> Hour List | |||||
| 69 | { | |||||
| 70 | get | |||||
| 71 | { | |||||
| 72 | Date Time entry InLogMetho dTime = Da teTime.Utc Now; | |||||
| 73 | if ( InfoWorld. Tracing.IW Trace.IsEn tryEnabled ) | |||||
| 74 | { | |||||
| 75 | InfoWorld. Tracing.IW Trace.Entr y(System.R eflection. MethodBase .GetCurren tMethod(), entryInLo gMethodTim e); | |||||
| 76 | } | |||||
| 77 | try | |||||
| 78 | { | |||||
| 79 | return _ho urList; | |||||
| 80 | } | |||||
| 81 | fina lly | |||||
| 82 | { | |||||
| 83 | if (InfoWo rld.Tracin g.IWTrace. IsExitEnab led) | |||||
| 84 | { | |||||
| 85 | InfoWo rld.Tracin g.IWTrace. Exit(Syste m.Reflecti on.MethodB ase.GetCur rentMethod (), DateTi me.UtcNow, entryInLo gMethodTim e); | |||||
| 86 | } | |||||
| 87 | } | |||||
| 88 | } | |||||
| 89 | } | |||||
| 90 | } | |||||
| 91 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.