Java Unix time unix2afpTime(long ut)

Here you can find the source of unix2afpTime(long ut)

Description

unixafp Time

License

Open Source License

Declaration

public final static int unix2afpTime(long ut) 

Method Source Code

//package com.java2s;
/** /*www. ja  v a  2 s . c o m*/
 * Copyright (c) 2003-2007 Stewart Allen <stewart@neuron.com>. All rights reserved.
 * This program is free software. See the 'License' file for details.
 */

public class Main {
    private static long timeOffset;

    public final static int unix2afpTime(long ut) {
        int ret = (int) ((ut - timeOffset) / 1000);
        return ret;
    }
}

Related

  1. getUnixEpochDateTime()
  2. getUnixTime(Date date)
  3. getUnixTimeByDate(Date date)
  4. unixDateToString(int date)
  5. unixTime()
  6. unixtime()
  7. unixTimestamp(int year, int month, int day, int hour, int minute, int second)