Exemplo n.º 1
0
 /// <summary>
 /// Determine if time for given clock time within time-interval
 /// </summary>
 /// <param name='clock'>
 /// clock stamp from which time is extracted (in local timezone)
 /// </param>
 public bool Within(long clock)
 {
     return(Within(ZTime.TimeOf(clock)));
 }
Exemplo n.º 2
0
        // Operations


        /// <summary>
        /// Determine if time for given date within time-interval
        /// </summary>
        /// <param name='date'>
        /// date from which time is extracted (in local timezone)
        /// </param>
        public bool Within(ZDateTime date)
        {
            return(Within(ZTime.TimeOf(date)));
        }