C# Class BaconographyW8.Converters.TimeRelationConverter.DateTimeSpan

from Kirk Woll http://stackoverflow.com/questions/4638993/difference-in-months-between-two-dates
Show file Open project: Synergex/Baconography

Public Methods

Method Description
CompareDates ( System.DateTime date1, System.DateTime date2 ) : DateTimeSpan
DateTimeSpan ( int years, int months, int days, int hours, int minutes, int seconds, int milliseconds ) : System

Method Details

CompareDates() public static method

public static CompareDates ( System.DateTime date1, System.DateTime date2 ) : DateTimeSpan
date1 System.DateTime
date2 System.DateTime
return DateTimeSpan

DateTimeSpan() public method

public DateTimeSpan ( int years, int months, int days, int hours, int minutes, int seconds, int milliseconds ) : System
years int
months int
days int
hours int
minutes int
seconds int
milliseconds int
return System