Ejemplo n.º 1
0
        /// <summary>
        /// Returns the amount of time to be added to local standard time to get local wall clock time.
        /// </summary>
        /// <returns>the amount of saving time in milliseconds</returns>
        public int GetDstSavings()
        {
            int result = NativeMethods.ucal_getDSTSavings(zoneId, out ErrorCode errorCode);

            ExceptionFromErrorCode.ThrowIfError(errorCode);
            return(result);
        }