Home / Function/ convert() — spring-boot Function Reference

convert() — spring-boot Function Reference

Architecture documentation for the convert() function in StringToPeriodConverterTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  bcf571dd_5792_eb66_647f_9c11599ef100["convert()"]
  11d39e88_f341_70e1_32e5_0bcc01a5ed38["convertWhenIso8601ShouldReturnPeriod()"]
  11d39e88_f341_70e1_32e5_0bcc01a5ed38 -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  92ccef97_c9d3_9320_5404_6fc8e79b0615["convertWhenSimpleDaysShouldReturnPeriod()"]
  92ccef97_c9d3_9320_5404_6fc8e79b0615 -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  fa2c5add_cd5d_6919_9db8_839074ba2d77["convertWhenSimpleWeeksShouldReturnPeriod()"]
  fa2c5add_cd5d_6919_9db8_839074ba2d77 -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  7a971e51_9764_69d0_0be5_6170f06db272["convertWhenSimpleMonthsShouldReturnPeriod()"]
  7a971e51_9764_69d0_0be5_6170f06db272 -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  cc92a31c_7eb7_cebb_59da_1234845023dd["convertWhenSimpleYearsShouldReturnPeriod()"]
  cc92a31c_7eb7_cebb_59da_1234845023dd -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  a378c350_9471_8fb2_dd43_a3f1d13b5eca["convertWhenSimpleWithoutSuffixShouldReturnPeriod()"]
  a378c350_9471_8fb2_dd43_a3f1d13b5eca -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  9324828e_e418_8550_7cca_76d20ce3c34a["convertWhenSimpleWithoutSuffixButWithAnnotationShouldReturnPeriod()"]
  9324828e_e418_8550_7cca_76d20ce3c34a -->|calls| bcf571dd_5792_eb66_647f_9c11599ef100
  style bcf571dd_5792_eb66_647f_9c11599ef100 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/convert/StringToPeriodConverterTests.java lines 107–109

	private @Nullable Period convert(ConversionService conversionService, String source) {
		return conversionService.convert(source, Period.class);
	}

Domain

Subdomains

Called By

  • convertWhenIso8601ShouldReturnPeriod()
  • convertWhenSimpleDaysShouldReturnPeriod()
  • convertWhenSimpleMonthsShouldReturnPeriod()
  • convertWhenSimpleWeeksShouldReturnPeriod()
  • convertWhenSimpleWithoutSuffixButWithAnnotationShouldReturnPeriod()
  • convertWhenSimpleWithoutSuffixShouldReturnPeriod()
  • convertWhenSimpleYearsShouldReturnPeriod()

Frequently Asked Questions

What does convert() do?
convert() is a function in the spring-boot codebase.
What calls convert()?
convert() is called by 7 function(s): convertWhenIso8601ShouldReturnPeriod, convertWhenSimpleDaysShouldReturnPeriod, convertWhenSimpleMonthsShouldReturnPeriod, convertWhenSimpleWeeksShouldReturnPeriod, convertWhenSimpleWithoutSuffixButWithAnnotationShouldReturnPeriod, convertWhenSimpleWithoutSuffixShouldReturnPeriod, convertWhenSimpleYearsShouldReturnPeriod.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free