Example #1
0
        public override string ToAnnotateFormat(bool StemOnly)
        {
            string stem = @"``" + text + @"``";

            if (StemOnly)
            {
                return(stem);
            }
            TimePoint firstTP = getFirstTimePoint();
            TimePoint lastTP  = getLastTimePoint();

            stem += TimePeriodUtil.TimePointToString(firstTP, false, true);
            if (!lastTP.equals(firstTP))
            {
                stem += TimePeriodUtil.TimePointToString(lastTP, false, true);
            }
            return(stem);
        }