Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data date formatting method and device, equipment and readable storage medium

A date format and data technology, applied in the data date format method, equipment and readable storage medium, and device fields, can solve problems such as App freezes and reduced user experience, etc.

Pending Publication Date: 2019-07-26
PINGAN CITY CONSTR TECH SHENZHEN CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a data date formatting method, device, equipment and readable storage medium. Technical issues with user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data date formatting method and device, equipment and readable storage medium
  • Data date formatting method and device, equipment and readable storage medium
  • Data date formatting method and device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0071] The present invention provides a data date formatting method. In the first embodiment of the data date formatting method of the present invention, refer to figure 1 , The data date formatting method includes:

[0072] In step S10, when a date formatting instruction is detected, the data to be formatted and the target date format are acquired based on the date formatting instruction;

[0073] Step S20, judging whether the target date format is pre-stored in the preset format dictionary;

[0074] Step S30, if the target date format is prestored in the preset format dictionary, call the target date format in the preset format dictionary to perform date format conversion processing on the data to be formatted, and obtain the first Conversion result.

[0075] Specific steps are as follows:

[0076] Step S10, when a date...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data date formatting method and device, equipment and a readable storage medium, and the method comprises the steps: obtaining to-be-formatted data and a target date format based on a date formatting instruction when the date formatting instruction is detected; judging whether the target date format is pre-stored in a preset format dictionary or not; and if the target date format is pre-stored in a preset format dictionary, calling the target date format in the preset format dictionary to carry out date format conversion processing on the to-be-formatted data, and obtaining a first conversion result. The technical problems that when date and time are formatted and processed in the prior art, frequent conversion between different formats can cause App stalling, andthe user experience is reduced are solved.

Description

Technical field [0001] The present invention relates to the field of computer technology, and in particular to a data date formatting method, device, equipment and readable storage medium. Background technique [0002] At present, the Objective-C language often needs to use the DateFormatter class (that is, the date format class) to create a date format to format and process the date and time. The formatting of the date and time mainly refers to formatting the acquired time into a desired display mode. [0003] However, at present, there is a phenomenon of excessively creating date formats by using date format classes. The excessive creation of date formats causes applications to frequently convert between NSDate format (running format) and NSString format (storage format), and NSDate format and NSString format are different Frequent transitions between applications will cause the App (computer application) to freeze and reduce the user experience. Summary of the invention [0004]...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/22G06F17/21
CPCG06F40/111G06F40/106G06F40/157
Inventor 黄亮
Owner PINGAN CITY CONSTR TECH SHENZHEN CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products