{"author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2023%2F12%2F23%2F103825\" title=\"Dart\u306eDuration\u3092\u3044\u3044\u611f\u3058\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"wannabe-jellyfish","type":"rich","blog_url":"https://memory-lovers.blog/","categories":["Flutter","Dart"],"blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","provider_url":"https://hatena.blog","title":"Dart\u306eDuration\u3092\u3044\u3044\u611f\u3058\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b","published":"2023-12-23 10:38:25","image_url":null,"height":"190","version":"1.0","width":"100%","url":"https://memory-lovers.blog/entry/2023/12/23/103825","description":"Dart\u306eDuration\u306bHH:mm:ss.SS\u307f\u305f\u3044\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3001 \u3044\u308d\u3044\u308d\u8abf\u3079\u3066\u307f\u305f\u3068\u304d\u306e\u5099\u5fd8\u9332(*\u00b4\u03c9\uff40*) Formatter\u306f\u306a\u3044\u3063\u307d\u304f\u3001\u81ea\u524d\u3067\u6574\u5f62\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3063\u307d\u3044\u3002\u3002 \u6574\u5f62\u3059\u308b\u95a2\u6570 HH:mm:ss.SS\u3063\u307d\u304f\u3059\u308b\u306e\u306f\u3053\u3093\u306a\u611f\u3058\u3002 String formatDuration(Duration d) { String twoDigits(int n) { if (n.isNaN) return \"00\"; return n.toString().padLeft(2, \"0\").substring(0, 2); } // \u7b26\u53f7\u306e\u53d6\u5f97 String negativ\u2026","provider_name":"Hatena Blog"}