Documentation of 'org.jgap.util.DateKit' Java class
DateKit
org.jgap.util

Class DateKit



  • public class DateKit
    extends java.lang.Object
    Utility functions related to date and time.
    Since:
    3.3.3
    • Constructor Summary

      Constructors 
      Constructor and Description
      DateKit() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String dateToString(java.util.Date a_date, java.lang.String a_dateFormat) 
      static java.lang.String getNowAsString() 
      static java.lang.String getTodayAsString() 
      static java.util.Date now() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateKit

        public DateKit()
    • Method Detail

      • getNowAsString

        public static java.lang.String getNowAsString()
        Returns:
        now as a string, including milliseconds
        Since:
        3.3.3
      • getTodayAsString

        public static java.lang.String getTodayAsString()
        Returns:
        today as a string
        Since:
        3.3.3
      • dateToString

        public static java.lang.String dateToString(java.util.Date a_date,
                                                    java.lang.String a_dateFormat)
        Parameters:
        a_date - the date to be returned in a specific format
        a_dateFormat - the desired format of the date
        Returns:
        date in given format
        Since:
        3.3.4
      • now

        public static java.util.Date now()
        Returns:
        now
        Since:
        3.3.3

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.