@JRubyMethod(name = "ctime") public IRubyObject ctime() { return getRuntime().newTime(stat.ctime() * 1000); }
@JRubyMethod(name = "ctime") public IRubyObject ctime() { return getRuntime().newTime(stat.ctime() * 1000); }
public static PyStatResult fromFileStat(FileStat stat) { return new PyStatResult( Py.newInteger(stat.mode()), Py.newInteger(stat.ino()), Py.newLong(stat.dev()), Py.newInteger(stat.nlink()), Py.newInteger(stat.uid()), Py.newInteger(stat.gid()), Py.newInteger(stat.st_size()), Py.newFloat(stat.atime()), Py.newFloat(stat.mtime()), Py.newFloat(stat.ctime())); }