Unlock instant, AI-driven research and patent intelligence for your innovation.

Week serial number calculation method and apparatus

A computing method and technology of a computing device, applied in the information field, can solve the problem of inability to calculate the weekly serial number, etc., and achieve the effect of improving the comprehensiveness

Inactive Publication Date: 2018-08-21
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the calculation of the week serial number is mainly carried out through ISO8601, that is, "data storage and exchange form, information exchange, date and time representation method", specifically under the ISO8601 standard, the first week of the year is from the first week The week of a Thursday is calculated. However, when the user needs to calculate the weekly serial number according to other requirements, the corresponding weekly serial number cannot be calculated, so the calculation of the weekly serial number has limitations.

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
  • Week serial number calculation method and apparatus
  • Week serial number calculation method and apparatus
  • Week serial number calculation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although 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 by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] A method for calculating the weekly serial number provided by the embodiment of the present invention, such as figure 1 As shown, the method includes:

[0026] 101. Obtain the date to be calculated.

[0027] Wherein, the date may be a historical date or a date in the future, and the date may include year, month, day information, etc. For example, the date to be calculated is May 22, 2016.

[0028] It should be noted that, ...

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 week serial number calculation method and apparatus, relates to the technical field of information, and solves the problem of limitation of week serial number calculation. The method comprises the steps of firstly obtaining a to-be-calculated date; secondly determining a week number of a first day of a year with the to-be-calculated date; according to the week number of the first day and a predetermined week serial number calculation rule, determining date information of a first week of the year with the to-be-calculated date; and according to the date information ofthe first week, calculating a week serial number of a week with the to-be-calculated date. The calculation method and apparatus is suitable for calculating the week serial number.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method and device for calculating a weekly serial number. Background technique [0002] In recent years, the calculation of the weekly serial number has been applied in more and more fields. The calculation of the weekly serial number means that for a date, it can be calculated that this date corresponds to the date of the week of the year. [0003] At present, the calculation of the week serial number is mainly carried out through ISO8601, that is, "data storage and exchange form, information exchange, date and time representation method", specifically under the ISO8601 standard, the first week of the year is from the first week The week of a Thursday is calculated. However, when the user needs to calculate the weekly serial number according to other requirements, the corresponding weekly serial number cannot be calculated, so the calculation of the weekly serial number h...

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/30
CPCG06F16/2448G06F16/2438G06F16/245
Inventor 郭秦龙
Owner BEIJING GRIDSUM TECH CO LTD