Android Time Get intConvertTime(int hour, int minut)

Here you can find the source of intConvertTime(int hour, int minut)

Description

int Convert Time

License

Open Source License

Declaration

public static String intConvertTime(int hour, int minut) 

Method Source Code

//package com.java2s;

public class Main {
    public static String intConvertTime(int hour, int minut) {
        StringBuilder time = new StringBuilder();
        time.append(hour / 10 % 10);/*  w w w  .j a  v a2s.c  o m*/
        time.append(hour % 10);
        time.append(":");
        time.append(minut / 10 % 10);
        time.append(minut % 10);
        return time.toString();
    }
}

Related

  1. getCurrentTime()
  2. Now(String time)
  3. toTime(int time)
  4. getCurrentTime()
  5. getCurrentTime(String format)
  6. getCurrentTimeString()
  7. getCurrentDateTime()
  8. getCurrentTime()