public override string ToString() { if (isRelative) { return(DFSUtil.DurationToString(ms)); } return(DFSUtil.DateToIso8601String(Sharpen.Extensions.CreateDate(ms))); }
/// <returns>When this directive expires, as an ISO-8601 formatted string.</returns> public string GetExpiryTimeString() { return(DFSUtil.DateToIso8601String(Sharpen.Extensions.CreateDate(expiryTime))); }