Java SQL Time Calculate getMinute(Time time)

Here you can find the source of getMinute(Time time)

Description

get Minute

License

Apache License

Declaration

public static int getMinute(Time time) 

Method Source Code


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

import java.sql.Time;

import java.time.LocalTime;

public class Main {
    public static int getMinute(Time time) {
        LocalTime localTime = time.toLocalTime();

        return localTime.getMinute();
    }// www .  j  a  v  a 2  s  . c o m
}

Related

  1. appendTime(StringBuffer sb, Calendar cal, int nanos)
  2. getDifference(Time timeFrom, Time timeTo)
  3. getDiffTime(String _fromDate, String _fromTime, String _toDate, String _toTime)
  4. getExpiresTime(Long validityPeriod)
  5. getMidNightTime()
  6. getMonth(String dateTime)
  7. getMonth(String dateTime)
  8. getNewFileList(String path, String mintime)
  9. getNextDateTimeStr(String format)