Java Duration Calculate minutesToDuration(long minutes)

Here you can find the source of minutesToDuration(long minutes)

Description

minutes To Duration

License

Open Source License

Declaration

public static Duration minutesToDuration(long minutes) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.time.Duration;

public class Main {
    public static Duration minutesToDuration(long minutes) {
        return Duration.ofMinutes(minutes);
    }//www  .j  a va 2s  . c o  m
}

Related

  1. isDuration(String value)
  2. isFinite(Duration duration)
  3. isInfPositive(Duration duration)
  4. max(Duration a, Duration b)
  5. min(Duration a, Duration b)
  6. multiply(Duration duration, double factor)
  7. runAfter(Duration duration, Runnable toRun)
  8. seconds(Duration duration)
  9. serializeDuration(Duration duration)