예제 #1
0
 public void SetMillisecond(int value)
 {
     if (value >= 0 && value < 1001)
     {
         m_Timeline = LSky_DateTimeHelper.TimeToFloat(CurrentDateTime.Hour, CurrentDateTime.Minute, CurrentDateTime.Second, value);
     }
 }
예제 #2
0
 public void SetHour(int value)
 {
     if (value >= 0 && value < 25)
     {
         m_Timeline = LSky_DateTimeHelper.TimeToFloat(value, CurrentDateTime.Minute, CurrentDateTime.Second, CurrentDateTime.Millisecond);
     }
 }
예제 #3
0
        //=========================================================================================

        /// <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);
        }