C# Class Itenso.TimePeriodDemo.HumanNotions.TimeUnitCalc

Afficher le fichier Open project: jwg4/date-difference

Méthodes publiques

Méthode Description
CalcTimeMoment ( System.DateTime baseMoment, TimeUnit offsetUnit, long offsetCount = 1, ITimeCalendar calendar = null ) : System.DateTime
CalcTimeMoment ( TimeUnit offsetUnit, long offsetCount = 1, ITimeCalendar calendar = null ) : System.DateTime
CalcTimePeriod ( System.DateTime baseMoment, TimeUnit periodUnit, long periodDuration = 1, TimeUnit offsetUnit = null, long offsetCount = 1, ITimeCalendar calendar = null ) : ITimePeriod
CalcTimePeriod ( TimeUnit periodUnit, long periodDuration = 1, TimeUnit offsetUnit = null, long offsetCount = 1, ITimeCalendar calendar = null ) : ITimePeriod

Private Methods

Méthode Description
ToInt ( long value ) : int

Method Details

CalcTimeMoment() public static méthode

public static CalcTimeMoment ( System.DateTime baseMoment, TimeUnit offsetUnit, long offsetCount = 1, ITimeCalendar calendar = null ) : System.DateTime
baseMoment System.DateTime
offsetUnit TimeUnit
offsetCount long
calendar ITimeCalendar
Résultat System.DateTime

CalcTimeMoment() public static méthode

public static CalcTimeMoment ( TimeUnit offsetUnit, long offsetCount = 1, ITimeCalendar calendar = null ) : System.DateTime
offsetUnit TimeUnit
offsetCount long
calendar ITimeCalendar
Résultat System.DateTime

CalcTimePeriod() public static méthode

public static CalcTimePeriod ( System.DateTime baseMoment, TimeUnit periodUnit, long periodDuration = 1, TimeUnit offsetUnit = null, long offsetCount = 1, ITimeCalendar calendar = null ) : ITimePeriod
baseMoment System.DateTime
periodUnit TimeUnit
periodDuration long
offsetUnit TimeUnit
offsetCount long
calendar ITimeCalendar
Résultat ITimePeriod

CalcTimePeriod() public static méthode

public static CalcTimePeriod ( TimeUnit periodUnit, long periodDuration = 1, TimeUnit offsetUnit = null, long offsetCount = 1, ITimeCalendar calendar = null ) : ITimePeriod
periodUnit TimeUnit
periodDuration long
offsetUnit TimeUnit
offsetCount long
calendar ITimeCalendar
Résultat ITimePeriod