UDA
- Implemented UDAs in the 'edit' command for all four UDA data types.
This commit is contained in:
@@ -303,6 +303,15 @@ std::string Duration::formatPrecise () const
|
||||
return std::string (formatted);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Duration::formatSeconds () const
|
||||
{
|
||||
char formatted[24];
|
||||
sprintf (formatted, "%s%ldsec", (_negative ? "-" : ""), _secs);
|
||||
return std::string (formatted);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Duration::operator< (const Duration& other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user