Java Year From getYearStartTime()

Here you can find the source of getYearStartTime()

Description

get Year Start Time

License

Open Source License

Declaration

public static String getYearStartTime() 

Method Source Code


//package com.java2s;

import java.util.Calendar;

import java.util.GregorianCalendar;

public class Main {

    public static String getYearStartTime() {
        return new GregorianCalendar().get(Calendar.YEAR) + "-01-01 00:00:00";
    }//from ww  w .ja v  a  2  s.co m
}

Related

  1. getYearOfTime(Long time)
  2. getYears(Integer limit)
  3. getyears(List numberList)
  4. getYearStart(int year)
  5. getYearStart(long ts)
  6. isInYear(String dateStr, int year)
  7. setYears(Date date, int amount)
  8. toNowYear(Date date)
  9. toShortW3CDTF(Date d, boolean yearOnly)