CN110968224A - Time information display method and related device - Google Patents

Time information display method and related device Download PDF

Info

Publication number
CN110968224A
CN110968224A CN201811138535.XA CN201811138535A CN110968224A CN 110968224 A CN110968224 A CN 110968224A CN 201811138535 A CN201811138535 A CN 201811138535A CN 110968224 A CN110968224 A CN 110968224A
Authority
CN
China
Prior art keywords
date
time
setting interface
time information
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811138535.XA
Other languages
Chinese (zh)
Inventor
邓浩博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201811138535.XA priority Critical patent/CN110968224A/en
Publication of CN110968224A publication Critical patent/CN110968224A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Abstract

The invention provides a display method and a related device of time information, wherein the display method responds to the current trigger operation of a user on an input box and displays a date setting interface and a time setting interface; acquiring date parameters input in the date setting interface and time parameters input in the time setting interface; obtaining time information according to the date parameter and the time parameter; displaying the time information in the input box. According to the technical scheme, the user can set the date and the time by only performing one-time triggering operation on the input frame, the time information including the date and the time is displayed, the operation steps are reduced, the condition of input missing is avoided, and the input precision is improved.

Description

Time information display method and related device
Technical Field
The invention relates to the technical field of software development, in particular to a time information display method and a related device.
Background
With the popularization of smart phones, more and more people are used to set functions through dates of apps such as schedule management in smart phones.
For example, as shown in fig. 1, when the reminder function is operated, the user usually needs to set the date and time, and the user first needs to click on the input box for setting the date in the borrowing time to set the date, and then click on the input box for setting the time to set the time.
Obviously, such operation is not smooth enough to conform to the operation habit of the user, and if the user does not see another input box, a condition of input missing is caused.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a time information display method and related apparatus that overcome or at least partially solve the above problems, so as to reduce the number of operation steps and improve the input accuracy.
In order to achieve the purpose, the invention provides the following technical scheme:
a display method of time information comprises the following steps:
responding to the current trigger operation of the user on the input box, and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
acquiring date parameters input in the date setting interface and time parameters input in the time setting interface;
obtaining time information according to the date parameter and the time parameter;
displaying the time information in the input box.
Preferably, the display date setting interface and the time setting interface include:
and displaying the date setting interface and the time setting interface at the same time.
Preferably, the display date setting interface and the time setting interface include:
displaying a date setting interface;
receiving date parameters set by a user on a date setting interface;
and when a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface is received, displaying the time setting interface.
Preferably, the obtaining time information according to the date parameter and the time parameter includes:
extracting a date character string in the date parameter;
extracting a time character string in the time parameter;
and splicing the date character string and the time character string to obtain a time information character string representing time information.
Preferably, the method further comprises the following steps:
receiving a modification operation instruction of an input box containing the time information;
splitting the time information character string according to the modification operation instruction to obtain a date character string and a time character string;
displaying a date setting interface comprising the date character string;
receiving modification operation of a user on the date character string in the date setting interface;
displaying a time setting interface comprising the time character string;
receiving modification operation of the user on the time character string in the time setting interface;
and returning to the step of obtaining the date parameters input in the date setting interface and the time parameters input in the time setting interface.
The invention also discloses a display device of time information, comprising:
the display unit is used for responding to the current trigger operation of the user on the input box and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
the obtaining unit is used for obtaining the date parameter input in the date setting interface and the time parameter input in the time setting interface;
the splicing unit is used for obtaining time information according to the date parameter and the time parameter;
a display unit for displaying the time information in the input box.
Preferably, the presentation unit includes:
and the first display subunit is used for displaying the date setting interface and the time setting interface simultaneously.
Preferably, the presentation unit includes:
the second display subunit is used for displaying a date setting interface;
the receiving subunit is used for receiving date parameters set by a user on a date setting interface;
and the third display subunit is used for displaying the time setting interface when receiving a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface.
The invention also discloses a storage medium which comprises a stored program, wherein the program executes the time information display method.
The invention also discloses a processor, which is used for running a program, wherein the program executes the time information display method when running.
By means of the technical scheme, the invention provides a time information display method and a related device, wherein the display method responds to the current trigger operation of a user on an input box and displays a date setting interface and a time setting interface; acquiring date parameters input in the date setting interface and time parameters input in the time setting interface; obtaining time information according to the date parameter and the time parameter; displaying the time information in the input box. According to the technical scheme, the user can set the date and the time by only performing one-time triggering operation on the input frame, the time information including the date and the time is displayed, the operation steps are reduced, the condition of input missing is avoided, and the input precision is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a diagram illustrating an interface effect of setting time information in the prior art;
fig. 2 is a flowchart illustrating a method for displaying time information according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a method for displaying time information according to an embodiment of the present invention;
4 a-4 d are diagrams illustrating an example of a display method of time information in an actual usage scenario according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating a time information display apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The invention is mainly applied to the technical field of software development, and provides a time information display method which is used for solving the technical problems that the operation process is complex, the operation mode does not accord with the operation habit of a user, and the operation precision is low in the prior art.
The technical solution of the present invention is described in detail below.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for displaying time information according to an embodiment of the present invention.
The invention discloses a time information display method, which comprises the following steps:
s201, responding to the current trigger operation of a user on an input box, and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
in the implementation of the present invention, the input box is used to set time information, wherein the time information is used to represent date and time, for example, 1 month, 1 day, 13 in 2018: 00.
in the embodiment of the invention, the date setting interface and the time setting interface can be displayed by only triggering the input box once by a user. The date setting interface is used for setting date parameters, the date parameters at least comprise years and also comprise months and days, the time setting interface is used for setting time parameters, and the time parameters can comprise time, minutes and seconds.
In actual use, the date setting interface may be set by selecting in a roller manner, or may be set by inputting in a text box manner. The roller mode can be that the date parameter and the time parameter, namely, the time of year, month and day, minute and second, are respectively corresponding to respective rollers, respective preset values are set in the respective rollers, and the text box mode can be used for a user to manually input the correct date or time.
In actual use, the date setting interface and the time setting interface can be two different controls, and when the input box has the current trigger operation, the display interfaces of the two controls pop up. And receiving a date parameter and a time parameter which are input by a user in the display interface.
It will be appreciated that the initial state of the input box is empty, i.e. no data is displayed.
S202, obtaining date parameters input in the date setting interface and time parameters input in the time setting interface;
in the embodiment of the invention, the date parameter input in the date setting interface and the time parameter input in the time setting interface are obtained. It should be noted that, in the date parameter in the embodiment of the present invention, at least a year is included, and the user may autonomously select a year.
The obtained trigger condition may be triggered by the user clicking a determination button after setting the date parameter and the time parameter, where the determination button is disposed in the date setting interface or the time setting interface, or may be set in a different position in the date setting interface or the time setting interface. When the user clicks the ok button, step S202 is triggered.
Of course, it may also be automatically performed when it is determined that there is no user operation within a preset time when the user setting is completed.
S203, obtaining time information according to the date parameter and the time parameter;
and S204, displaying the time information in the input box.
In the embodiment of the invention, the time information is obtained according to the date parameter and the time parameter, wherein the time information is used for representing the character string information comprising the date parameter and the time parameter.
It can be understood that the time information obtained according to the date parameter and the time parameter is a parameter, and can be used as a call basis for calling other functions, and a user does not need to obtain the date parameter and then obtain the time parameter, and further splice the date parameter and the time parameter to obtain the time information, so that errors easily occurring in the operation process are reduced, and the code amount of subsequent development is reduced.
In the embodiment of the invention, after the time information is obtained, the time information is displayed in the input box. In the actual display effect, the user only needs one triggering operation on the input box, and then sets the date parameter and the time parameter, so that the time information including the year can be displayed in the input box.
It can be understood that the technical scheme of the invention can be particularly applied to development of IOS system app software under a real Native framework. For example, a control named NewDatePicker is established. The control is provided with an input frame, a date setting control for setting date parameters and a time setting control for setting time parameters, and the process is realized through a preset function. The real Native framework is a mature framework in the prior art, and is not described herein. It should be noted that, in the embodiment of the present invention, the user can set the year in the date parameter autonomously, and the user only needs to trigger the input box once in the interaction process, so that the complexity of interface interaction is reduced.
According to the technical scheme, the display method disclosed by the embodiment of the invention responds to the current trigger operation of the user on the input box, and displays the date setting interface and the time setting interface; acquiring date parameters input in the date setting interface and time parameters input in the time setting interface; the date parameter comprises at least a year; obtaining time information according to the date parameter and the time parameter; displaying the time information in the input box. According to the technical scheme, the user can set the date and the time, particularly the year, only by carrying out one-time triggering operation on the input frame, the time information including the date and the time is displayed, the operation steps are reduced, the condition of input missing is avoided, and the input precision is improved.
In the above embodiment, the date setting interface and the time setting interface are presented, and the process is described in detail below.
In the embodiment of the invention, the display date setting interface and the time setting interface can be displayed simultaneously.
The display date setting interface and the time setting interface comprise:
and displaying the date setting interface and the time setting interface at the same time.
According to the technical scheme, the date setting interface and the time setting interface are displayed simultaneously when the triggering operation of the input box is effective. It is understood that the display positions of the date setting interface and the time setting interface do not overlap each other.
In actual use, the IOS system may be full of screens, which affects the appearance, and therefore, the screens can be displayed in sequence.
The display date setting interface and the time setting interface comprise:
displaying a date setting interface;
receiving date parameters set by a user on a date setting interface;
and when a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface is received, displaying the time setting interface.
In the embodiment of the invention, the current trigger operation of the user on the input box is responded, the date setting interface is displayed, and then the date parameter set by the user is waited.
When a user sets a date parameter in the date setting interface, a confirmation setting instruction may be sent, and the trigger of the confirmation setting instruction may be triggered by the confirmation button or the preset time in the above embodiments, which is not described herein again.
When the confirmation setting instruction is received, a time setting interface is displayed, and the time parameter is set. It is understood that, at this time, the date setting interface may be hidden, i.e., the date setting interface may be hidden and invisible.
Of course, it is understood that, after the time parameter set by the user is completed, the confirmation setting instruction may also be sent in the above embodiment to trigger the subsequent flow S202.
In this way, the display is more beautiful, and the user can set the year in the date parameter independently, thereby improving the degree of freedom of setting.
In the above embodiment, the process of obtaining the time information is disclosed, and the detailed description is given below.
Referring to fig. 3, fig. 3 is another schematic flow chart of a method for displaying time information according to an embodiment of the present invention.
S301, responding to the current trigger operation of a user on the input box, and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
s302, obtaining date parameters input in the date setting interface and time parameters input in the time setting interface; the date parameter comprises at least a year;
s303, extracting a date character string in the date parameter;
s304, extracting a time character string in the time parameter;
s305, splicing the date character string and the time character string to obtain a time information character string representing time information.
Steps S301 to S302 may refer to steps S201 to S202 in the above embodiments, which are not described herein again.
After the date parameter and the time parameter are obtained, time information can be obtained according to the date parameter and the time parameter.
The specific process may include extracting a date character string in the date parameter and a time character string in the time parameter, and then performing a splicing operation to obtain time information.
In actual use, the splicing process comprises the following steps: date string + space + time string, for example: '2018-01-01' + '01: 01: 01', the result was '2018-01-0101: 01: 01'.
In actual use, the splicing process is completed in a NewDatePicker control, and only time information is output externally. When the user adopts the control, the output result is a parameter, the splicing process is a 'black box', namely the spliced parameter, and the user does not need to splice the parameters by himself after obtaining the date parameter and the time parameter.
S306, displaying the time information in the input box.
In the embodiment of the invention, the time information can be obtained by splicing the date parameter and the time parameter, so that the follow-up calling and displaying are facilitated. The programming efficiency is improved.
In the foregoing embodiment, if the user input is completed, the displayed time information needs to be further modified, so on the basis of the foregoing embodiment, the embodiment of the present invention further includes:
receiving a modification operation instruction of an input box containing the time information;
splitting the time information character string according to the modification operation instruction to obtain a date character string and a time character string;
displaying a date input interface comprising the date character string;
receiving modification operation of a user on the date character string in the date input interface;
displaying a time input interface comprising the time character string;
and returning to the step of obtaining the date parameters input in the date setting interface and the time parameters input in the time setting interface.
The step of returning to obtain the date parameter input in the date setting interface and the time parameter input in the time setting interface may further be:
receiving modification operation of the user on the time character string in the time input interface;
obtaining a modified date string and obtaining a modified time string;
splicing the modified date character string and the modified time character string to obtain a modified time information character string; the modified time information character string is used for representing modified time information; displaying the modified time information in the input box.
In the embodiment of the invention, if the time information in the input box needs to be modified, a modification operation instruction is sent out for modification. For example, click on the input box.
Then, according to the modification operation instruction, the time information character string is split into the date character string and the time character string. And displaying the display content corresponding to the date character string in a date setting interface, and displaying the display content corresponding to the time character string in a time setting interface. So that the user can make modifications on the basis of the last setting.
And after the user finishes modifying, acquiring the modified date parameter and the modified time parameter, acquiring the date character string in the modified date parameter and the time character string in the modified time parameter, splicing to obtain the modified time information character string as modified time information, and displaying the modified time information in the input box.
In the embodiment of the present invention, if the set time information needs to be modified, the time information character string needs to be split, and the subsequent modification process may be the same as the process of setting the date parameter and the time parameter in the foregoing embodiment.
In actual use, the time information character string obtained in the input box may be split, and the time information character string is transmitted into the date setting control and the time setting control, and then the user sets the time information character string, and after the time information character string is set, the user may return to step S202 to perform subsequent operations.
In the embodiment of the invention, the user can modify the set time information, thereby improving the user experience.
In order to better understand the technical solution of the present invention, fig. 4a to 4d are diagrams illustrating an example of a time information display method provided in an embodiment of the present invention in an actual usage scenario. In practical use, referring to fig. 4 a-4 d, the user only needs to perform a trigger operation on the input box, for example, the "please select date and time" position corresponding to the borrowing time in fig. 4a, and the result in fig. 4d is obtained through the input operations in fig. 4b and 4 c.
According to the embodiment of the invention, the date parameter and the time parameter can be set only by one-time triggering operation of the input box, the interface interaction complexity is reduced, the time information is finally obtained by the date parameter and the time parameter, the complicated step of splicing after a plurality of parameters are obtained is omitted, and in a service code, instantiation, high cohesion, low coupling, simple operation, convenience and accuracy can be realized.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Corresponding to the embodiment of the display method of the time information, the application also provides an embodiment of a display device of the time information.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a time information display device disclosed in the present invention.
The invention discloses a display device of time information, comprising:
the display unit 1 is used for responding to the current trigger operation of a user on the input box and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
an obtaining unit 2, configured to obtain a date parameter input in the date setting interface and a time parameter input in the time setting interface;
the splicing unit 3 is used for obtaining time information according to the date parameter and the time parameter;
and the display unit 4 is used for displaying the time information in the input box.
Preferably, the presentation unit includes:
and the first display subunit is used for displaying the date setting interface and the time setting interface simultaneously.
Preferably, the presentation unit includes:
the second display subunit is used for displaying a date setting interface;
the receiving subunit is used for receiving date parameters set by a user on a date setting interface;
and the third display subunit is used for displaying the time setting interface when receiving a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface.
Preferably, the obtaining time information according to the date parameter and the time parameter includes:
extracting a date character string in the date parameter;
extracting a time character string in the time parameter;
and splicing the date character string and the time character string to obtain a time information character string representing time information.
Preferably, the apparatus is further configured to:
receiving a modification operation instruction of an input box containing the time information;
splitting the time information character string according to the modification operation instruction to obtain a date character string and a time character string;
displaying a date setting interface comprising the date character string;
receiving modification operation of a user on the date character string in the date setting interface;
displaying a time setting interface comprising the time character string;
receiving modification operation of the user on the time character string in the time setting interface;
and returning to the step of obtaining the date parameters input in the date setting interface and the time parameters input in the time setting interface.
The invention provides a display device of time information, wherein a display unit 1 in the display device responds to the current trigger operation of a user on an input box and displays a date setting interface and a time setting interface; the obtaining unit 2 obtains the date parameter input in the date setting interface and the time parameter input in the time setting interface; the splicing unit 3 obtains time information according to the date parameter and the time parameter; the display unit 4 displays the time information in the input box. According to the technical scheme, the user can set the date and the time by only performing one-time triggering operation on the input frame, the time information including the date and the time is displayed, the operation steps are reduced, the condition of input missing is avoided, and the input precision is improved.
The display device of the time information comprises a processor and a memory, the display unit 1, the obtaining unit 2, the splicing unit 3, the display unit 4 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, the date and the time are set by adjusting the kernel parameters, and the time information comprising the date and the time is displayed.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, the program implementing the display method of the time information when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the time information display method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
responding to the current trigger operation of the user on the input box, and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
acquiring date parameters input in the date setting interface and time parameters input in the time setting interface;
obtaining time information according to the date parameter and the time parameter;
displaying the time information in the input box.
Preferably, the display date setting interface and the time setting interface include:
and displaying the date setting interface and the time setting interface at the same time.
Preferably, the display date setting interface and the time setting interface include:
displaying a date setting interface;
receiving date parameters set by a user on a date setting interface;
and when a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface is received, displaying the time setting interface.
Preferably, the obtaining time information according to the date parameter and the time parameter includes:
extracting a date character string in the date parameter;
extracting a time character string in the time parameter;
and splicing the date character string and the time character string to obtain a time information character string representing time information.
Preferably, the method further comprises the following steps:
receiving a modification operation instruction of an input box containing the time information;
splitting the time information character string according to the modification operation instruction to obtain a date character string and a time character string;
displaying a date setting interface comprising the date character string;
receiving modification operation of a user on the date character string in the date setting interface;
displaying a time setting interface comprising the time character string;
receiving modification operation of the user on the time character string in the time setting interface;
and returning to the step of obtaining the date parameters input in the date setting interface and the time parameters input in the time setting interface.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
responding to the current trigger operation of the user on the input box, and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
acquiring date parameters input in the date setting interface and time parameters input in the time setting interface;
obtaining time information according to the date parameter and the time parameter;
displaying the time information in the input box.
Preferably, the display date setting interface and the time setting interface include:
and displaying the date setting interface and the time setting interface at the same time.
Preferably, the display date setting interface and the time setting interface include:
displaying a date setting interface;
receiving date parameters set by a user on a date setting interface;
and when a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface is received, displaying the time setting interface.
Preferably, the obtaining time information according to the date parameter and the time parameter includes:
extracting a date character string in the date parameter;
extracting a time character string in the time parameter;
and splicing the date character string and the time character string to obtain a time information character string representing time information.
Preferably, the method further comprises the following steps:
receiving a modification operation instruction of an input box containing the time information;
splitting the time information character string according to the modification operation instruction to obtain a date character string and a time character string;
displaying a date setting interface comprising the date character string;
receiving modification operation of a user on the date character string in the date setting interface;
displaying a time setting interface comprising the time character string;
receiving modification operation of the user on the time character string in the time setting interface;
and returning to the step of obtaining the date parameters input in the date setting interface and the time parameters input in the time setting interface.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for displaying time information, comprising:
responding to the current trigger operation of the user on the input box, and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
acquiring date parameters input in the date setting interface and time parameters input in the time setting interface;
obtaining time information according to the date parameter and the time parameter;
displaying the time information in the input box.
2. The display method according to claim 1, wherein the displaying the date setting interface and the time setting interface comprises:
and displaying the date setting interface and the time setting interface at the same time.
3. The display method according to claim 1, wherein the displaying the date setting interface and the time setting interface comprises:
displaying a date setting interface;
receiving date parameters set by a user on a date setting interface;
and when a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface is received, displaying the time setting interface.
4. The display method according to any one of claims 1 to 3, wherein the obtaining time information according to the date parameter and the time parameter comprises:
extracting a date character string in the date parameter;
extracting a time character string in the time parameter;
and splicing the date character string and the time character string to obtain a time information character string representing time information.
5. The display method according to claim 4, further comprising:
receiving a modification operation instruction of an input box containing the time information;
splitting the time information character string according to the modification operation instruction to obtain a date character string and a time character string;
displaying a date setting interface comprising the date character string;
receiving modification operation of a user on the date character string in the date setting interface;
displaying a time setting interface comprising the time character string;
receiving modification operation of the user on the time character string in the time setting interface;
and returning to the step of obtaining the date parameters input in the date setting interface and the time parameters input in the time setting interface.
6. A display device of time information, characterized by comprising:
the display unit is used for responding to the current trigger operation of the user on the input box and displaying a date setting interface and a time setting interface; the input box is used for setting time information;
the obtaining unit is used for obtaining the date parameter input in the date setting interface and the time parameter input in the time setting interface;
the splicing unit is used for obtaining time information according to the date parameter and the time parameter;
a display unit for displaying the time information in the input box.
7. The display device according to claim 6, wherein the presentation unit includes:
and the first display subunit is used for displaying the date setting interface and the time setting interface simultaneously.
8. The display device according to claim 6, wherein the presentation unit includes:
the second display subunit is used for displaying a date setting interface;
the receiving subunit is used for receiving date parameters set by a user on a date setting interface;
and the third display subunit is used for displaying the time setting interface when receiving a confirmation setting instruction sent by the user after the date parameter is set in the date setting interface.
9. A storage medium characterized by comprising a stored program, wherein the program executes the display method of time information according to any one of claims 1 to 5.
10. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the method for displaying time information according to any one of claims 1 to 5.
CN201811138535.XA 2018-09-28 2018-09-28 Time information display method and related device Pending CN110968224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811138535.XA CN110968224A (en) 2018-09-28 2018-09-28 Time information display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811138535.XA CN110968224A (en) 2018-09-28 2018-09-28 Time information display method and related device

Publications (1)

Publication Number Publication Date
CN110968224A true CN110968224A (en) 2020-04-07

Family

ID=70027731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811138535.XA Pending CN110968224A (en) 2018-09-28 2018-09-28 Time information display method and related device

Country Status (1)

Country Link
CN (1) CN110968224A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721561A (en) * 2022-04-06 2022-07-08 江苏安超云软件有限公司 Date interval retrieval method and application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010035884A1 (en) * 2000-04-27 2001-11-01 Dan Kikinis Method and system for inputting time in a video environment using sliders
CN106796684A (en) * 2014-06-20 2017-05-31 微软技术许可有限责任公司 Calendar event is created from timeline
CN107957842A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 The methods of exhibiting and terminal device of a kind of user-generated content
CN108052365A (en) * 2017-12-19 2018-05-18 深圳市四格互联信息技术有限公司 The component generation method and device of user interface
CN108509189A (en) * 2018-04-13 2018-09-07 南京新贝金服科技有限公司 A kind of component of the H5 time gates based on DOM unifies implementation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010035884A1 (en) * 2000-04-27 2001-11-01 Dan Kikinis Method and system for inputting time in a video environment using sliders
CN106796684A (en) * 2014-06-20 2017-05-31 微软技术许可有限责任公司 Calendar event is created from timeline
CN107957842A (en) * 2016-10-18 2018-04-24 腾讯科技(深圳)有限公司 The methods of exhibiting and terminal device of a kind of user-generated content
CN108052365A (en) * 2017-12-19 2018-05-18 深圳市四格互联信息技术有限公司 The component generation method and device of user interface
CN108509189A (en) * 2018-04-13 2018-09-07 南京新贝金服科技有限公司 A kind of component of the H5 time gates based on DOM unifies implementation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
奥金魔导师: "原生时间(日期)选择器的滚动显示方式", 《HTTPS://MY.OSCHINA.NET/ARCANITE/BLOG/753369》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721561A (en) * 2022-04-06 2022-07-08 江苏安超云软件有限公司 Date interval retrieval method and application

Similar Documents

Publication Publication Date Title
US20210117059A1 (en) Application interface management method and apparatus
US20180210741A1 (en) Media information processing method, mobile terminal, and storage medium
De Andrade et al. Cross platform app: a comparative study
CN110839104B (en) Group communication method, device and equipment
CN105335132B (en) Method, device and system for customizing application program function
EP3244320A1 (en) File path storing and local file accessing method and device
CN110990090A (en) Dynamic wallpaper display method, device and computer readable medium
CN104572126A (en) Advertisement processing method and system
CN111324378A (en) Custom H5 page parameter configuration applied to playing of video monitoring equipment in APP
CN111143019B (en) Control method and system for popup window of mobile terminal
US20240078072A1 (en) Method and apparatus for displaying message box, terminal device and non-transitory computer-readable storage medium
CN112148395A (en) Page display method, device, equipment and storage medium
CN106899489A (en) A kind of information processing method and device
CN110968224A (en) Time information display method and related device
CN112419040A (en) Credit anti-fraud identification method, credit anti-fraud identification device and storage medium
CN109889906B (en) Shopping method and related equipment
CN109254820B (en) Window closing method, device, terminal and computer readable storage medium
CN111158673A (en) Method and device for configuring rotating disc movable page
US9218162B1 (en) Cross-platform mobile application specification and automatic synthesizer
CN115688102A (en) Window processing method and device, processor and electronic equipment
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN111158678B (en) Video playing method and device, client device and electronic device
CN112328466A (en) Test order generation method, equipment and storage medium
CN111124399A (en) Processing method and device of popup component, storage medium and processor
CN109300043A (en) The generation method and device of line chart

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200407

RJ01 Rejection of invention patent application after publication