mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 14:47:35 +00:00
AK+Userland: Return String from human_readable_[digital_]time()
This commit is contained in:
parent
b12541b286
commit
7e8cfb60eb
4 changed files with 9 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/ByteString.h>
|
||||
#include <AK/String.h>
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
@ -24,8 +24,8 @@ ByteString human_readable_size(u64 size, HumanReadableBasedOn based_on = HumanRe
|
|||
ByteString human_readable_quantity(u64 quantity, HumanReadableBasedOn based_on = HumanReadableBasedOn::Base2, StringView unit = "B"sv, UseThousandsSeparator use_thousands_separator = UseThousandsSeparator::No);
|
||||
|
||||
ByteString human_readable_size_long(u64 size, UseThousandsSeparator use_thousands_separator = UseThousandsSeparator::No);
|
||||
ByteString human_readable_time(i64 time_in_seconds);
|
||||
ByteString human_readable_digital_time(i64 time_in_seconds);
|
||||
String human_readable_time(i64 time_in_seconds);
|
||||
String human_readable_digital_time(i64 time_in_seconds);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue