Table of Contents

Class UIValue_ReadNumber_DateTime

Namespace
KSP.UI.Binding
Assembly
Assembly-CSharp.dll
public class UIValue_ReadNumber_DateTime : UIValueNumberBinder, IUIDataContextBindable, IUIValueBinder, IUIValueBinder<double>, IUIValueBindable<double>, IUIValueNumberBindable, IUIValueBindable
Inheritance
UIValue_ReadNumber_DateTime
Implements
Inherited Members
Extension Methods

Constructors

UIValue_ReadNumber_DateTime()

public UIValue_ReadNumber_DateTime()

Methods

Awake()

protected override void Awake()

ComputeDateTime(double, int, int)

public static UIValue_ReadNumber_DateTime.DateTime ComputeDateTime(double timeUT, int hoursInDay, int daysInYear)

Parameters

timeUT double
hoursInDay int
daysInYear int

Returns

UIValue_ReadNumber_DateTime.DateTime

OnDisable()

protected virtual void OnDisable()

OnEnable()

protected virtual void OnEnable()

OnMappedNumberRangeChanged(UIValueNumberRange, bool)

protected override void OnMappedNumberRangeChanged(UIValueNumberRange oldRange, bool shouldRedraw)

Parameters

oldRange UIValueNumberRange
shouldRedraw bool

RedrawValue(bool)

public override void RedrawValue(bool instant = true)

Parameters

instant bool

SetIsOneBased(bool)

public void SetIsOneBased(bool isOneBased)

Parameters

isOneBased bool