Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for utime (0.19 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
                        assertEquals(time, f.lastModified());
                        assertEquals(time, f.lastAccess());
                        assertEquals(time, f.createTime());
                    }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                            new Trans2SetFileInformationResponse(th.getConfig()),
                            RequestParam.NO_RETRY);
                    }
                }
                else {
                    if ( ctime != 0 || atime != 0 ) {
                        throw new SmbUnsupportedOperationException("Cannot set creation or access time without CAP_NT_SMBS");
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Set the create time of the file. The time is specified as milliseconds
     * from Jan 1, 1970 which is the same as that which is returned by the
     * <tt>createTime()</tt> method.
     * <p/>
     * This method does not apply to workgroups, servers, or shares.
     *
     * @param time the create time as milliseconds since Jan 1, 1970
     */
        public void setCreateTime( long time ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top