public void SetMillisecond(int value) { if (value >= 0 && value < 1001) { m_Timeline = LSky_DateTimeHelper.TimeToFloat(CurrentDateTime.Hour, CurrentDateTime.Minute, CurrentDateTime.Second, value); } }
public void SetHour(int value) { if (value >= 0 && value < 25) { m_Timeline = LSky_DateTimeHelper.TimeToFloat(value, CurrentDateTime.Minute, CurrentDateTime.Second, CurrentDateTime.Millisecond); } }
//========================================================================================= /// <summary< /// Set time to timeline. /// </summary> public void SetTime(int hours, int minutes, int seconds, int milliseconds) { m_Timeline = LSky_DateTimeHelper.TimeToFloat(hours, minutes, seconds, milliseconds); }