-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from studio-recoding/dev
[🚀feat] 26차 배포
- Loading branch information
Showing
8 changed files
with
71 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/main/java/Ness/Backend/domain/bookmark/dto/response/GetBookmarkDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/main/java/Ness/Backend/domain/bookmark/dto/response/GetBookmarkListDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package Ness.Backend.global.time; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
import java.time.LocalDateTime; | ||
import java.time.ZoneId; | ||
import java.time.ZonedDateTime; | ||
|
||
@Component | ||
public class GlobalTime { | ||
public ZonedDateTime getToday(){ | ||
return ZonedDateTime.now(ZoneId.of("Asia/Seoul")); | ||
} | ||
|
||
public ZonedDateTime getUpcomingOneHourTime(){ | ||
return ZonedDateTime.now(ZoneId.of("Asia/Seoul")).plusHours(1); | ||
} | ||
|
||
public ZonedDateTime getUpcomingTwoHourTime(){ | ||
return ZonedDateTime.now(ZoneId.of("Asia/Seoul")).plusHours(2); | ||
} | ||
|
||
public ZonedDateTime createdZonedDate(){ | ||
return LocalDateTime | ||
.now(ZoneId.of("Asia/Seoul")) | ||
.atZone(ZoneId.of("Asia/Seoul")); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.