예제 #1
0
        internal unsafe static void ToString(this DateTime time, CharStream charStream, char dateSplit = DateSplitChar)
        {
            char *timeFixed = charStream.GetPrepSizeCurrent(19);

            toString(time, timeFixed, dateSplit);
            *(timeFixed + 10) = ' ';
            toString((int)((time.Ticks % TimeSpan.TicksPerDay) / TimeSpan.TicksPerSecond), timeFixed + 11);
            charStream.ByteSize += 19 * sizeof(char);
        }
예제 #2
0
        internal unsafe static void ToString(this DateTime time, CharStream charStream, char dateSplit = '/')
        {
            char *timeFixed = charStream.GetPrepSizeCurrent(19);

            toString(time, timeFixed, dateSplit);
            *(timeFixed + 10) = ' ';
            toString((int)((time.Ticks % DayTiks) / (1000 * 10000)), timeFixed + 11);
            charStream.ByteSize += 19 * sizeof(char);
        }