APISonar


org.neo4j.helpers.Format.date

> org > neo4j > helpers > Format > date
org APIs neo4j APIs helpers APIs Format APIs date APIs

Example 1
public String timestamp( long timeWritten, TimeZone timeZone )
    {
        return Format.date( timeWritten, timeZone ) + "/" + timeWritten;
    }
Example 2
public void onStatistics( File storeFileName, int acquiredPages, int mappedPages, long
            samplePeriod )
    {
        logWriter.printf( "%s: In %s: %d pages acquired, %d pages mapped (%.2f%%) in %d ms%n",
                Format.date(), storeFileName.getName(), acquiredPages, mappedPages,
                (100.0 * mappedPages) / acquiredPages, samplePeriod );
        logWriter.flush();
    }