ConvertFromAppleTimeStamp() 공개 정적인 메소드

public static ConvertFromAppleTimeStamp ( double timestamp ) : System.DateTime
timestamp double
리턴 System.DateTime
        public static object parseBinaryDate(int headerPosition)
        {
            byte[] array = Plist.objectTable.GetRange(headerPosition + 1, 8).ToArray();
            Array.Reverse((Array)array);
            int startIndex = 0;

            return((object)PlistDateConverter.ConvertFromAppleTimeStamp(BitConverter.ToDouble(array, startIndex)));
        }
예제 #2
0
        public static object parseBinaryDate(int headerPosition)
        {
            byte[] buffer = objectTable.GetRange(headerPosition + 1, 8).ToArray();
            Array.Reverse(buffer);
            double   appleTime = BitConverter.ToDouble(buffer, 0);
            DateTime result    = PlistDateConverter.ConvertFromAppleTimeStamp(appleTime);

            return(result);
        }
예제 #3
0
        // Token: 0x06000126 RID: 294 RVA: 0x00008230 File Offset: 0x00006430
        public static object parseBinaryDate(int headerPosition)
        {
            byte[] array = Plist.objectTable.GetRange(headerPosition + 1, 8).ToArray();
            Array.Reverse(array);
            double   timestamp = BitConverter.ToDouble(array, 0);
            DateTime dateTime  = PlistDateConverter.ConvertFromAppleTimeStamp(timestamp);

            return(dateTime);
        }