Class KoreanDateUtil

java.lang.Object
tools.KoreanDateUtil

public class KoreanDateUtil extends Object
Provides a suite of tools for manipulating Korean Timestamps.
Since:
Revision 746
  • Constructor Details

    • KoreanDateUtil

      public KoreanDateUtil()
  • Method Details

    • getTempBanTimestamp

      public static final long getTempBanTimestamp(long realTimestamp)
      Converts a Unix Timestamp into File Time
      Parameters:
      realTimestamp - The actual timestamp in milliseconds.
      Returns:
      A 64-bit long giving a filetime timestamp
    • getItemTimestamp

      public static final int getItemTimestamp(long realTimestamp)
      Gets a timestamp for item expiration.
      Parameters:
      realTimestamp - The actual timestamp in milliseconds.
      Returns:
      The Korean timestamp for the real timestamp.
    • isDST

      public static boolean isDST()
    • getFileTimestamp

      public static long getFileTimestamp(long timeStampinMillis, boolean roundToMinutes)