Beispiel #1
0
        public override PlistNode Copy()
        {
            plist.plist_get_date_val(_node, out int tv_sec, out int tv_usec);
            timeval value = new timeval
            {
                tv_sec  = tv_sec,
                tv_usec = tv_usec
            };

            return(new PlistDate(value));
        }
Beispiel #2
0
 public PlistDate(timeval value, PlistStructure parent = null)
 {
     _node   = plist.plist_new_date((int)value.tv_sec, value.tv_usec);
     _parent = parent;
 }