TimeUnit.ToMicros(Int64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
相當於 #convert(long, TimeUnit) MICROSECONDS.convert(duration, this)。
[Android.Runtime.Register("toMicros", "(J)J", "")]
public long ToMicros(long duration);
[<Android.Runtime.Register("toMicros", "(J)J", "")>]
member this.ToMicros : int64 -> int64
參數
- duration
- Int64
持續時間
傳回
轉換後的持續時間,或 Long.MIN_VALUE 是轉換是否會負溢出,或 Long.MAX_VALUE 是否會正溢出。
- 屬性
備註
相當於 #convert(long, TimeUnit) MICROSECONDS.convert(duration, this)。
的 java.util.concurrent.TimeUnit.toMicros(long)Java 檔。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。