diff --git a/spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java b/spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java index 09d14360a4d..8c74cb56a4a 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java +++ b/spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,8 +42,8 @@ import org.springframework.util.StringUtils; *
  • "0 0 * * * *" = the top of every hour of every day.
  • *
  • "*/10 * * * * *" = every ten seconds.
  • *
  • "0 0 8-10 * * *" = 8, 9 and 10 o'clock of every day.
  • - *
  • "0 * 6,19 * * *" = 6:00 AM and 7:00 PM every day.
  • - *
  • "0 0/30 8-10 * * *" = 8:00, 8:30, 9:00, 9:30 and 10 o'clock every day.
  • + *
  • "0 0 6,19 * * *" = 6:00 AM and 7:00 PM every day.
  • + *
  • "0 0/30 8-10 * * *" = 8:00, 8:30, 9:00, 9:30, 10:00 and 10:30 every day.
  • *
  • "0 0 9-17 * * MON-FRI" = on the hour nine-to-five weekdays
  • *
  • "0 0 0 25 12 ?" = every Christmas Day at midnight
  • *