Java SQL Time getGrandfatheredTime()

Here you can find the source of getGrandfatheredTime()

Description

get Grandfathered Time

License

Apache License

Declaration

public static Timestamp getGrandfatheredTime() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.sql.Timestamp;

public class Main {
    public static Timestamp getGrandfatheredTime() {
        /**/*w w  w . j av  a2  s . c  o  m*/
         * Currently set to Y2K as an easter egg to easily set apart
         * grandfathered accounts from post-launch accounts.
         */
        Timestamp grandfatheredTime = Timestamp.valueOf("2000-01-01 00:00:00.0");
        return grandfatheredTime;
    }
}

Related

  1. getDateTimeValue(ResultSet result, String strField, String strDateFormat)
  2. getDBTime(String yyyyMMddHHmmss)
  3. getFormatDateTimeDesc(long longDate)
  4. getFullDateTime(ResultSet rs, String column)
  5. getFutureTime(int month)
  6. getIntervalDays(Date time1, Date time2)
  7. getJoinedSysDateTime()
  8. getLastTimeOfDay(Calendar calendar)
  9. getMaxModifyTime(String path)