Пример #1
0
 protected int putDate(String name, Date d) {
   int start = _buf.position();
   _put(DATE, name);
   _buf.putLong(d.getTime());
   return _buf.position() - start;
 }
Пример #2
0
 protected void putDate(String name, Date d) {
   _put(DATE, name);
   _buf.writeLong(d.getTime());
 }