Method | 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 |
Method | Description | |
---|---|---|
ToInt ( long value ) : int |
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 | |
return | System.DateTime |
public static CalcTimeMoment ( TimeUnit offsetUnit, long offsetCount = 1, ITimeCalendar calendar = null ) : System.DateTime | ||
offsetUnit | TimeUnit | |
offsetCount | long | |
calendar | ITimeCalendar | |
return | System.DateTime |
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 | |
return | ITimePeriod |
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 | |
return | ITimePeriod |