Ejemplo n.º 1
0
 void WriteDate(DES_Date date)
 {
     _br.Write(date.nDay);
     _br.Write(date.nMonth);
     _br.Write(date.nYear);
     _br.Write(date.nHour);
     _br.Write(date.nMin);
     _br.Write(date.nSec);
 }
Ejemplo n.º 2
0
        DES_Date ReadDate(BinaryReader br)
        {
            DES_Date date = new DES_Date();

            date.nDay   = br.ReadInt32();
            date.nMonth = br.ReadInt32();
            date.nYear  = br.ReadInt32();
            date.nHour  = br.ReadInt32();
            date.nMin   = br.ReadInt32();
            date.nSec   = br.ReadInt32();
            return(date);
        }
Ejemplo n.º 3
0
 DES_Date ReadDate(BinaryReader br)
 {
     DES_Date date = new DES_Date();
     date.nDay = br.ReadInt32();
     date.nMonth = br.ReadInt32();
     date.nYear = br.ReadInt32();
     date.nHour = br.ReadInt32();
     date.nMin = br.ReadInt32();
     date.nSec = br.ReadInt32();
     return date;
 }