Esempio n. 1
0
        public int sceRtcSetTick(ScePspDateTime *date, ulong *tick)
        {
            throw (new NotImplementedException());

            /*
             * date.parse(*tick);
             * return 0;
             */
        }
Esempio n. 2
0
        public int sceRtcGetCurrentClockLocalTime(ScePspDateTime *time)
        {
            throw (new NotImplementedException());

            /*
             * ulong currentTick;
             * sceRtcGetCurrentTick(&currentTick);
             * sceRtcSetTick(time, &currentTick);
             * return 0;
             */
        }
Esempio n. 3
0
 public int sceRtcSetTick(ScePspDateTime *Date, ulong *Ticks)
 {
     try
     {
         *Date = ScePspDateTime.FromDateTime(new DateTime((long)(*Ticks * 10)));
         return(0);
     }
     catch (Exception Exception)
     {
         Console.Error.WriteLine(Exception);
         return(-1);
     }
 }
Esempio n. 4
0
        public int sceRtcGetTick(ScePspDateTime *date, ulong *tick)
        {
            throw (new NotImplementedException());

            /*
             * try
             * {
             * tick = date.tick;
             *      return 0;
             * } catch {
             * tick = 0;
             *      return -1;
             * }
             */
        }
Esempio n. 5
0
 public int sceRtcGetWin32FileTime(ScePspDateTime *DateTime, ulong *Win32Time)
 {
     return(0);
 }