"beyond. His prophecies of impending judgment upon Judah apply with equal force to the judgments that are to fall upon an impenitent world at the time of the second advent of Christ: PK 389.1"
"The sun shall be turned into darkness, and the moon into blood, before the great and the terrible day of the Lord come."
Both passages discuss impending judgment and the second advent. EGW explicitly states that the prophecies apply to the second advent, linking the judgment in Joel to the future. This is a valid thematic parallel.