diff options
| author | msheby <msheby@cinecert.com> | 2009-04-06 07:18:14 +0000 |
|---|---|---|
| committer | msheby <> | 2009-04-06 07:18:14 +0000 |
| commit | 83497567ebd1f1119610fdbddfd302bed7cdc0d6 (patch) | |
| tree | 7730ac82b3880ab0f1b5323b0ea76ba727df424b /src/KM_util.h | |
| parent | bf54b7e8b0100eaf39a1914a089a524c4a66ebba (diff) | |
Add Timestamp::EncodeStringWithOffset() for representation outside of UTC.
Diffstat (limited to 'src/KM_util.h')
| -rwxr-xr-x | src/KM_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/KM_util.h b/src/KM_util.h index 8dd573f..7318de8 100755 --- a/src/KM_util.h +++ b/src/KM_util.h @@ -390,6 +390,8 @@ namespace Kumu // Write the timestamp value to the given buffer in the form 2004-05-01T13:20:00+00:00 // returns 0 if the buffer is smaller than DateTimeLen const char* EncodeString(char* str_buf, ui32_t buf_len) const; + const char* EncodeStringWithOffset(char* str_buf, ui32_t buf_len, + i32_t offset_minutes = 0) const; // decode and set value from string formatted by EncodeString bool DecodeString(const char* datestr); |
