Lines Matching refs:fields
650 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToDateString() local
651 if (!GetThisDateValues(&fields, true)) { in ToDateString()
654 CString year = StrToTargetLength(ToCString(fields[YEAR]), STR_LENGTH_YEAR); in ToDateString()
655 CString day = StrToTargetLength(ToCString(fields[DAYS]), STR_LENGTH_OTHERS); in ToDateString()
656 …CString str = weekdayName[fields[WEEKDAY]] + SPACE + monthName[fields[MONTH]] + SPACE + day + SPAC… in ToDateString()
672 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToDateString() local
673 GetDateValues(timeMs, &fields, true); in ToDateString()
685 CString year = ToCString(fields[YEAR]); in ToDateString()
687 CString weekday = weekdayName[fields[WEEKDAY]]; in ToDateString()
688 CString month = monthName[fields[MONTH]]; in ToDateString()
689 CString day = StrToTargetLength(ToCString(fields[DAYS]), STR_LENGTH_OTHERS); in ToDateString()
690 CString hour = StrToTargetLength(ToCString(fields[HOUR]), STR_LENGTH_OTHERS); in ToDateString()
691 CString minute = StrToTargetLength(ToCString(fields[MIN]), STR_LENGTH_OTHERS); in ToDateString()
692 CString second = StrToTargetLength(ToCString(fields[SEC]), STR_LENGTH_OTHERS); in ToDateString()
700 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToISOString() local
701 if (!GetThisDateValues(&fields, false)) { in ToISOString()
704 CString year = ToCString(fields[YEAR]); in ToISOString()
712 CString month = StrToTargetLength(ToCString(fields[MONTH] + 1), STR_LENGTH_OTHERS); in ToISOString()
713 CString day = StrToTargetLength(ToCString(fields[DAYS]), STR_LENGTH_OTHERS); in ToISOString()
714 CString hour = StrToTargetLength(ToCString(fields[HOUR]), STR_LENGTH_OTHERS); in ToISOString()
715 CString minute = StrToTargetLength(ToCString(fields[MIN]), STR_LENGTH_OTHERS); in ToISOString()
716 CString second = StrToTargetLength(ToCString(fields[SEC]), STR_LENGTH_OTHERS); in ToISOString()
717 CString ms = StrToTargetLength(ToCString(fields[MS]), STR_LENGTH_OTHERS + 1); in ToISOString()
732 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToString() local
733 if (!GetThisDateValues(&fields, true)) { in ToString()
746 CString year = ToCString(fields[YEAR]); in ToString()
748 CString weekday = weekdayName[fields[WEEKDAY]]; in ToString()
749 CString month = monthName[fields[MONTH]]; in ToString()
750 CString day = StrToTargetLength(ToCString(fields[DAYS]), STR_LENGTH_OTHERS); in ToString()
751 CString hour = StrToTargetLength(ToCString(fields[HOUR]), STR_LENGTH_OTHERS); in ToString()
752 CString minute = StrToTargetLength(ToCString(fields[MIN]), STR_LENGTH_OTHERS); in ToString()
753 CString second = StrToTargetLength(ToCString(fields[SEC]), STR_LENGTH_OTHERS); in ToString()
763 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToTimeString() local
764 if (!GetThisDateValues(&fields, true)) { in ToTimeString()
777 CString hour = StrToTargetLength(ToCString(fields[HOUR]), STR_LENGTH_OTHERS); in ToTimeString()
778 CString minute = StrToTargetLength(ToCString(fields[MIN]), STR_LENGTH_OTHERS); in ToTimeString()
779 CString second = StrToTargetLength(ToCString(fields[SEC]), STR_LENGTH_OTHERS); in ToTimeString()
792 std::array<int64_t, DATE_LENGTH> fields = {0}; in ToUTCString() local
793 if (!GetThisDateValues(&fields, false)) { in ToUTCString()
796 CString year = ToCString(fields[YEAR]); in ToUTCString()
798 CString weekday = weekdayName[fields[WEEKDAY]]; in ToUTCString()
799 CString month = monthName[fields[MONTH]]; in ToUTCString()
800 CString day = StrToTargetLength(ToCString(fields[DAYS]), STR_LENGTH_OTHERS); in ToUTCString()
801 CString hour = StrToTargetLength(ToCString(fields[HOUR]), STR_LENGTH_OTHERS); in ToUTCString()
802 CString minute = StrToTargetLength(ToCString(fields[MIN]), STR_LENGTH_OTHERS); in ToUTCString()
803 CString second = StrToTargetLength(ToCString(fields[SEC]), STR_LENGTH_OTHERS); in ToUTCString()
804 CString ms = StrToTargetLength(ToCString(fields[MS]), STR_LENGTH_OTHERS); in ToUTCString()